Red Gate forums :: View topic - create deployment script from CMD with compare
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

create deployment script from CMD with compare

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



Joined: 01 Aug 2012
Posts: 3

PostPosted: Mon Nov 19, 2012 4:56 pm    Post subject: create deployment script from CMD with compare Reply with quote

I am attempting to create a deployment script via CMD for SQL Compare. I have been unsuccessful at finding an answer though.

The end goal is to not sync the DB's via the command, but rather generate the deployment script itself like you can in the UI. CMD errors and says that /MakeScripts can not be used with the command /db2 though.

Is there another option I am overlooking?

This is what I was trying.
sqlcompare /db1:Shell_DB /db2:TargetDB /EXCLUDE:Certificate /EXCLUDE:Assembly /MakeScripts:"C:\SQLFileMerge"
Back to top
View user's profile Send private message
Kirby1367



Joined: 01 Aug 2012
Posts: 3

PostPosted: Mon Nov 19, 2012 6:05 pm    Post subject: Found it Reply with quote

Found out how. Was /ScriptFile instead of /MakeScripts
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