Using xSQL Builder

Custom Scripts

 

Custom scripts are T-SQL script that you can choose to run either before synchronization (pre-sync) or after the synchronization (post-sync). They must exist on the client machine where the package runs. You can choose to run a single file or the entire set of files in a folder. When a folder of scripts is specified, the package runs all the files with .sql extension in the specified folder in alphabetical order. The following rules apply to the custom scripts:

This behavior is defined in the code template which is provided with xSQL Builder. You can change it to accommodate your particular scenario.