How apply script and synchronize db in one go
Nehal.Shah
Posts: 13
Hi,
I have 2 versions of code say v1.1 and v1.2 and hence 2 db.
Whenevener i have to upgrade any site from v1.1 to v1.2 i have to do following steps:
(1) Apply script to db through query analyser (pre-compare),
(2) Compare & synchronize db with template one using SQL Compare and
(3) Again apply script to db through query analyser (post-compare).
How can i achieve this in one go?
If anything not clear feel free to ask.
Regards
Nehal[/b]
I have 2 versions of code say v1.1 and v1.2 and hence 2 db.
Whenevener i have to upgrade any site from v1.1 to v1.2 i have to do following steps:
(1) Apply script to db through query analyser (pre-compare),
(2) Compare & synchronize db with template one using SQL Compare and
(3) Again apply script to db through query analyser (post-compare).
How can i achieve this in one go?
If anything not clear feel free to ask.
Regards
Nehal[/b]
Comments
There is no way to do this currently in SQL Compare, however the concept of pre- and post-synchronization scripts is one that we're actively considering. Could you let us know what sort of operations you need to perform before and after the synchronization script? If you have examples you could email me, that would be great.
David Atkinson
Red Gate Software
Product Manager
Redgate Software
e.g. of the script applied after SQL compare is as
Many such scripts are applied after and before SQL Compare.