cmdline no option "Add database use ..."
jostorero
Posts: 11
Hi,
While comparing with cmdline, is there a way to generate change scripts with the sql command use [DB] at the top of the script ?
Thanks for your help
Jerome
My cmd is :
"sqlcompare.exe" /snapshot1:"a.snp" /snapshot2:"b.snp" /scriptfile:"c.sql" /out:"d.log" /f /o:f,d /exclude:User /exclude:Role /exclude:StoredProcedure:ExecRulesOfGroup* /exclude:StoredProcedure:getCallerInfo /exclude:Table:EPR_* /exclude:Table:_DYN_
While comparing with cmdline, is there a way to generate change scripts with the sql command use [DB] at the top of the script ?
Thanks for your help
Jerome
My cmd is :
"sqlcompare.exe" /snapshot1:"a.snp" /snapshot2:"b.snp" /scriptfile:"c.sql" /out:"d.log" /f /o:f,d /exclude:User /exclude:Role /exclude:StoredProcedure:ExecRulesOfGroup* /exclude:StoredProcedure:getCallerInfo /exclude:Table:EPR_* /exclude:Table:_DYN_
jostorero
Comments
/options:Default,AddDatabaseUseStatement
http://www.red-gate.com/supportcenter/C ... 547562.htm
Jerome
Technical author
Red Gate Software Ltd