Creating Models › Creating a Physical Model › Triggers › DBMS Support for Triggers › Define a SAP ASE Table Trigger
Define a SAP ASE Table Trigger
Use the Table Trigger Editor to define the stored procedures that exist for a table in a SAP ASE physical model.
To define a SAP ASE table trigger
- Right-click the table for which you want to define a trigger and click Trigger Properties.
The SAP ASE Table Trigger Editor opens.
- Select the table trigger in the Navigation Grid that you want to define and work with the following options:
Note: Click New on the toolbar to create a new table trigger. Use the Enter filter text box to filter a very large list of table triggers to quickly locate the one that you want to define.
- Name
-
Displays the table trigger name. You can change the trigger name in this field.
- Insert
-
Specifies to execute the table trigger on INSERT.
- Update
-
Specifies to execute the table trigger on UPDATE.
- Delete
-
Specifies to execute the table trigger on DELETE.
- Generate
-
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
- Click the General tab and define referential integrity constraints.
- Click the Code tab to define the code type for the table trigger.
- Click the Expanded tab to view expanded code for the table trigger.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the table trigger.
- (Optional) Click the UDP tab to work with user-defined properties for the table trigger.
- (Optional) Click the Notes tab to view history associated with the table trigger and to add or view user notes.
- Click Close.
The table trigger is defined and the SAP ASE Table Trigger Editor closes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|