Add a New Pre & Post Script

You can add a new Pre & Post Script using the New Script dialog.

To add a new pre & post scripts

  1. Click Pre & Post Scripts, Model-Level or Table-Level on the Database menu.

    The Pre & Post Scripts dialog opens.

  2. Click New.

    The New Script dialog opens.

  3. Enter a name of the script and click OK.

    The script is added. Your changes are saved and the New Script dialog closes.

    Note: Click Cancel to close the dialog without saving your changes.

To define the script, you can complete the fields on the General, Code, and Expanded tabs and then optionally select the Comment or UDP tab to add a comment or user defined property.

More information:

DBMS Support for Scripts

Scripts

Define a Pre & Post Script

Define the Pre & Post Scripts SQL Code

Define the Pre & Post Scripts Expanded SQL Code

Enter a Comment for a Pre & Post Script

Add a User Defined Property Value for a Pre & Post Script