Generate migration scripts on command line
toeairina
Posts: 3
Hi!
I have one SQL Sever database using RedGate SQL Source Control.
And i want to generate migration scripts between 2 versions in source control using command line for the same database.
Can anyone help me about this issue?
Thanks
I have one SQL Sever database using RedGate SQL Source Control.
And i want to generate migration scripts between 2 versions in source control using command line for the same database.
Can anyone help me about this issue?
Thanks
Comments
Feel free to request this ability on our Uservoice though, and we can see how many other users would like to see it as an option.
Redgate Software
I found a solutions that helps me:
sqlcompare /Sourcecontrol1 /versionusername1:username /versionpassword1:passwd /revision1:100 /scriptsfolde
rxml:C:\SourceControlLocation.xml /SourceControl2 /versi
onusername2:username /versionpassword2:passwd /revision2:90 /scriptFile:C:\Scripts\WidgetSyncScrip.sql