How to handle synchronization errors
Last modified: October 1, 2024
When synchronizing databases, you may configure Studio for SQL Server behavior for synchronization script execution in case of error.
If you want to have consistent data in any case, select the Use single transaction check box on the General tab of the Data Synchronization wizard. If this option was selected, the entire synchronization script is executed as one single transaction. In case of any error or synchronization canceling, all changes are rolled back.
If you want, for example, debug the synchronization script, and you don’t want changes to be rolled back, clear the Use single transaction check box. In such case script is executed till the batch, containing errors. All changes made by the statements before the batch, which caused error, are applied to the database, so you may see which changes were applied.
Note
To avoid errors when synchronizing data, pay attention to the Synchronization Warnings. Exclude database objects that can cause errors from the synchronization.
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for SQL Server.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.