Use the SQL Server Database Trigger Editor to define the stored procedures that exist for a database in a SQL Server 2005/2008 physical model.
Note: You cannot use the SQL Server Database Trigger Editor until you have created a SQL Server database object in your model.
To define SQL Server database triggers
The SQL Server Database Trigger Editor opens.
Note: Click New
on the toolbar to create a new database trigger.
Displays the database trigger name. You can change the trigger name in this field.
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
Specifies when the database trigger is executed. Make a selection from the drop-down list.
Specifies the database trigger events. If any of the selected events, or actions, occur in the database, the database trigger is executed. Select or clear the check boxes for the event groups and events that execute the database trigger.
Specifies the permission level in effect when the database trigger is executed.
Specifies the user whose permissions are in effect for the execution of the database trigger.
Note: This option is only available if you have selected the Execute As User option in the Type drop-down list.
Specifies whether the database trigger is enabled or disabled.
Specifies that the database trigger is encrypted in the database.
Specifies that the database trigger is not invoked as part of database replication.
The database trigger is defined and the SQL Server Database Trigger Editor closes.
| Copyright © 2009 CA. All rights reserved. | Email CA about this topic |