Read table name from text file using SQL Compare 10

Forum for users of SQL Compare schema synchronization utility

Read table name from text file using SQL Compare 10

Postby SS_RGMN » Thu Sep 26, 2013 1:26 pm

I have start using the RG tool recently and come across one question for SQL Compare 10.0 below : ... 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!
Posts: 1
Joined: Thu Sep 26, 2013 1:19 pm

Postby Anu Deshpande » Mon Sep 30, 2013 1:03 pm

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.
Anu Deshpande
Posts: 838
Joined: Mon Apr 20, 2009 2:53 pm
Location: Cambridge

Return to SQL Compare Previous Versions

Who is online

Users browsing this forum: No registered users and 2 guests