If you encounter any issues or errors during the deployment, you can create a data rollback script to undo changes and restore the SQL database to its previous state.
Note
Always create an undo or rollback script before deploying the database changes.
You can create a rollback script in one of these ways:
Before deploying data changes, it is recommended to:
2. Right-click the Data Comparison results grid and select Change Synchronization Direction.

The synchronization arrow now turns red and gets the opposite direction.

3. At the top of the document, click
to open the Data Synchronization Wizard.
4. Select an output option to generate a synchronization script.
5. Click Synchronize.
1. Open the New Data Comparison wizard in one of these ways:
Note
If you have already performed the data comparison, on the Comparison toolbar, click Edit Comparison to open the Change Data Comparison Settings wizard.
2. On the Source and Target page, click
.
3. Optional: Configure data comparison options.
4. Click Compare.
5. Review the generated .dcomp file.
6. At the top of the Data Comparison document, click
to open the Data Synchronization Wizard.
7. Select an output option.
8. Click Synchronize.