Can't exclude dependencies when running from command line
Duns79
Posts: 6
I am trying to compare two databases using the following parameters
/Project:SomeProject.scp /ScriptFile:SomeScript.sql /Force /Options:DecryptPost2KEncryptedObjects,IgnoreFillFactor,IgnoreWhiteSpace,IgnoreFileGroups,IgnoreUserProperties,IgnoreWithElementOrder,IgnoreDatabaseAndServerName
but it still includes the dependencies that are picked up when comparing the databases and saving them to the script file.
Even when running with /Options:None I still get the same output.
If I run the same project through the UI I can unselect the Deploy All Dependencies check box and I get the script as I would expect.
Is there any way to do this through the command line?
I am running 10.2.0.1337 of SQL Compare.
Thanks
/Project:SomeProject.scp /ScriptFile:SomeScript.sql /Force /Options:DecryptPost2KEncryptedObjects,IgnoreFillFactor,IgnoreWhiteSpace,IgnoreFileGroups,IgnoreUserProperties,IgnoreWithElementOrder,IgnoreDatabaseAndServerName
but it still includes the dependencies that are picked up when comparing the databases and saving them to the script file.
Even when running with /Options:None I still get the same output.
If I run the same project through the UI I can unselect the Deploy All Dependencies check box and I get the script as I would expect.
Is there any way to do this through the command line?
I am running 10.2.0.1337 of SQL Compare.
Thanks
Comments
ftp://support.red-gate.com/patches/SQL_ ... 0.1647.zip
There are some problems with 10.2.0.1337 with regard to the way the command-line processes options.
I have loaded that version but it doesn't seem to have made any difference.
Thanks!
I have uploaded the files to the FTP site you provided
Thanks
David
I have retested on version 10.2.6 and the problem now seems to be resolved.
Thanks for following up.