USE <DATABASE> statement in compare scripts
Posted: Tue 24 Nov 2015 15:55
Hello,
I'm currently looking into available tools to perform DDL and DML comparison from the command line for an automation project of database continuous delivery. So besides a tool running from the command line it also needs to be able to generate the necessary scripts.
After a day of playing around with both dbForge schema and data compare, everything is looking fine and especially given the price, they seem to be good candidates for this project.
Unfortunately I'm currently stuck with one challenge. As the comparison phase is only done once, in the beginning of the automation chain, the generated scripts need to be portable. Having a look at the resulting files they could do the job if I could get rid of the USE <DATABASE> related statements.I spent quiet some time both on the command line as in the GUI to find it but without any luck.
Is there somewhere a switch option to deactivate it? It will avoid the trouble in scripting a solution the strip this code after generation.
Thanks
Björn
I'm currently looking into available tools to perform DDL and DML comparison from the command line for an automation project of database continuous delivery. So besides a tool running from the command line it also needs to be able to generate the necessary scripts.
After a day of playing around with both dbForge schema and data compare, everything is looking fine and especially given the price, they seem to be good candidates for this project.
Unfortunately I'm currently stuck with one challenge. As the comparison phase is only done once, in the beginning of the automation chain, the generated scripts need to be portable. Having a look at the resulting files they could do the job if I could get rid of the USE <DATABASE> related statements.I spent quiet some time both on the command line as in the GUI to find it but without any luck.
Is there somewhere a switch option to deactivate it? It will avoid the trouble in scripting a solution the strip this code after generation.
Thanks
Björn