Add "use <<Database>>" as an option for the sql
It would help to have "use <<database>", where <<database>> is the db where you intend to load the sql appear in the object sync script
We already have an option for this: If you look at the Project Options and choose “Add USE statement” that should do the job!
-
philcart commented
David,
This is primarily for quick hotfix type changes of which we run through several each day.
At the moment I'm using powershell to pull changed files from TFS, then calling SQL Compare to perform a compare and generate a change script.
This script is then used to deploy the changes to TEST, UAT and eventually Production environments. For TEST and UAT, we can supply an additional flag for the change script to be executed immediately.
Cheers
Phil -
@philcart - can I ask how you intend to use this via the command line? What's your automation scenario?
-
philcart commented
Is there any chance of getting this option via the command line?
-
Mary Hamlin commented
This isn't available through the SQL Compare command line, only through the SQL Compare gui.