Red Gate forums :: View topic - Read table name from text file using SQL Compare 10
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Read table name from text file using SQL Compare 10

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
SS_RGMN



Joined: 26 Sep 2013
Posts: 1

PostPosted: Thu Sep 26, 2013 2:26 pm    Post subject: Read table name from text file using SQL Compare 10 Reply with quote

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/Content/SQL_Compare/help/10.0/sc_cl_selectingtableswithunrelatednames

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!
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 685
Location: Cambridge

PostPosted: Mon Sep 30, 2013 2:03 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group