Define SQL Server Table Triggers

Use the SQL Server Table Trigger Editor to define the stored procedures that exist for a table in a SQL Server 2005/2008 physical model.

To define SQL Server table triggers

  1. Click Triggers, Table on the Database menu.

    The SQL Server Table Trigger Editor opens.

  2. Select the table from the Table drop-down that contains the trigger that you want to define, select the trigger, and work with the following options:

    Note: Click New <New> icon in property editors on the toolbar to create a new table trigger.

  3. Click the General tab and work with the following options:
  4. Click the Code tab to define the code type for the table trigger.
  5. Click the Expanded tab to view expanded code for the table trigger.
  6. (Optional) Click the Comment tab and enter any comments that you want to associate with the table trigger.
  7. (Optional) Click the UDP tab to work with user-defined properties for the table trigger.
  8. Click Close.

    The table trigger is defined and the SQL Server Table Trigger Editor closes.

More information:

SQL Server Physical Property Editors

Define the Code Type for an Object in a SQL Server Property Editor

View Expanded Code in a Property Editor

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor


Copyright © 2009 CA. All rights reserved. Email CA about this topic