Options

Read table name from text file using SQL Compare 10

SS_RGMNSS_RGMN Posts: 2
edited September 30, 2013 9:03AM in SQL Compare Previous Versions
I have start using the RG tool recently and come across one question for SQL Compare 10.0 below :

http://www.red-gate.com/supportcenter/C ... latednames

In this command below, I would like to read from a text/ CSV file for table name and then exclude only those tables for SQL compare :

sqlcompare /db1:Customers1 /db2:Customers2 /exclude:table:\[dbo\]\ .\[<table name from text file>\]

situation is that we have 100 tbls in DB and we only want to exclude 51 tbls from text file (for this example) and then rest 49 tbls should be available (for sql compare) in the final result-set.

Can anyone provide information that how can we achieve this task, thanks for the help!

Comments

  • Options
    Anu DAnu D Posts: 876 Silver 3
    Many thanks for your post.

    SQL Compare can work with XML file to accept as command line arguments. More about it here.

    If you want to specifically use text/CSV file then you need to place this request on our User voice website here.

    Please feel free to add your vote or if there is one already kindly vote for it. And then the project manager can directly decide what category this requirement comes under?
    Anuradha Deshpande
    Product Support
    Redgate Software Ltd.
    E-mail: support@red-gate.com
Sign In or Register to comment.