Red Gate forums :: View topic - sql compare command line - how to send final script to file
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

sql compare command line - how to send final script to file

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



Joined: 24 Apr 2012
Posts: 9

PostPosted: Mon Apr 30, 2012 7:18 pm    Post subject: sql compare command line - how to send final script to file Reply with quote

I'm using SQL Source Control and testing out SQL Compare for continuous integration. What I'm testing now is that SQL compare successfully uses a couple custom migration scripts and a couple outmatic updates. This seems to be working with the following command:

Code:
sqlcompare /server1:dev02 /db1:JaySQLCompare /version1:head /server2:dev02 /db2:JaySQLCompareTarget /verbose /sync


The sync works properly but the /verbose command doesn't output the migration script that sqlcompare actually used. How can I get a look at what is being run behind the scenes?
Back to top
View user's profile Send private message
jhilden



Joined: 24 Apr 2012
Posts: 9

PostPosted: Mon Apr 30, 2012 8:40 pm    Post subject: Reply with quote

Sorry guys, I just didn't read enough in the documentation. Here is the solution:

Code:
sqlcompare /server1:dev02 /db1:JaySQLCompare /version1:head /server2:dev02 /db2:JaySQLCompareTarget /verbose /sync /ScriptFile: "C:\foo.sql"
Back to top
View user's profile Send private message
eddie davis



Joined: 14 Jun 2006
Posts: 940
Location: Red Gate Software

PostPosted: Tue May 01, 2012 4:04 pm    Post subject: Reply with quote

Hi

Thank you for your posts into the forum and a for updating your post with the solution to your issue.

Please contact us if you need our help and assistance in the future.

Best Regards
Eddie
_________________
Eddie Davis
Technical Support Engineer
Red Gate 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