Red Gate forums :: View topic - Use Command Line to generate data scripts
Return to www.red-gate.com RSS Feed Available

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

Use Command Line to generate data scripts

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



Joined: 31 Oct 2012
Posts: 2

PostPosted: Tue Dec 11, 2012 5:17 pm    Post subject: Use Command Line to generate data scripts Reply with quote

I am trying to use the command line version of SQL Data Compare to generate data scripts for tables in a database. I am trying to use the batch below

Code:

cd "C:\Program Files (x86)\Red Gate\SQL Data Compare 10"
SQLDataCompare.exe /s1:Server1 /db1:IVS /scr2:C:\SVN\sandbox\DB-IVS\trunk /Synchronize /include:identical
PAUSE


but it doesnt seem to be working. Does anyone have any experience in trying to do this that can possibly point me in the right direction?

Thanks!
Michael
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6581

PostPosted: Tue Jan 15, 2013 12:23 pm    Post subject: Reply with quote

Hi Micheal,

My best guess is that SQL Data Compare is not synchronizing anything because the folder is empty (there is no schema defined). You should use SQLCompare.exe to sync to the folder first.
Back to top
View user's profile Send private message
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