Comments
1 comment
- 
                
                   Hi StevenS, Hi StevenS,
 Thank you for your forum post.
 There is no macro available that will perform the steps described in your post.
 By default, the deployment process uses to transactions to deploy the changes, if an error occurs the changes are rolled back. Therefore I am unsure of the purpose of your first step. Also it is good practice to backup the target database or generate a SQL Compare snapshot of the target before running the deployment process in case you do need to revert the changes after a successful deployment
 Using the command line, you can automate the comparison, generate both a comparison report and a copy of the deployment script, and deploy the changes to the target.
 Many Thanks
 Eddie
Add comment
Please sign in to leave a comment.
- I run the Deploy Wizard in reverse and save the script.  This acts as my rollback script if I need to back out changes.
- I generate a comparison report so that if necessary, we can quickly see what has changed in the deployment
- I run the Deploy Wizard to deploy the changes, saving the script again but in the deployment direction.
These three steps take a bit of time and what I'd ideally like to do is once I've got the elements selected to deploy, click a single button and have all of those steps done automatically for me. I've thought about creating a command line routine but that would not allow me to review specific elements to deploy.Does anyone have a better way of handling creating rollback routines when deploying changes? I always want to make sure I have the script to reverse out any changes I make. Just looking to avoid manual user interface steps if I can.