After you have set the options to manage synchronization script output, you can use the Schema Synchronization Wizard to add custom scripts that can be executed before or after schema synchronization.
To insert additional scripts
1. To open the synchronization wizard, click Synchronize objects to the target database.
2. In the Schema Synchronization Wizard that opens, switch to the Additional Scripts tab to add pre- and/or post-execution scripts.
3. To insert the script to be executed before schema synchronization, select the Scripts to execute before check box and then select one of the options:
4. To insert the script to be executed after schema synchronization, select the Scripts to execute after check box and then select one of the options:
5. (Optional) On the Summary tab, view the synchronization actions and warnings.
6. After you’ve configured the synchronization options, click Synchronize.