Creating Models › Creating a Physical Model › Triggers › DBMS Support for Triggers › Define an Informix View Trigger
Define an Informix View Trigger
Use the View Trigger Editor to define the stored procedures that exist for a view in an Informix physical model.
To define an Informix view trigger
- Right-click the view for which you want to define a trigger and click Trigger Properties.
The Informix View Trigger Editor opens.
- Select the view 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 view trigger. Use the Enter filter text box to filter a very large list of view triggers to quickly locate the one that you want to define.
- Name
-
Displays the view trigger name. You can change the trigger name in this field.
- Insert
-
Specifies to execute the view trigger on INSERT.
- Update
-
Specifies to execute the view trigger on UPDATE.
- Delete
-
Specifies to execute the view trigger on DELETE.
- Fire
-
Specifies when the view trigger is executed.
- Generate
-
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
- Click the General tab and define properties and referential integrity constraints.
- Click the Update Columns tab to specify columns to use for the UPDATE execution.
- Click the Code tab to define the code type for the view trigger.
- Click the Expanded tab to view expanded code for the view trigger.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the view trigger.
- (Optional) Click the UDP tab to work with user-defined properties for the view trigger.
- (Optional) Click the Notes tab to view history associated with the view trigger and to add or view user notes.
- Click Close.
The view trigger is defined and the Informix View Trigger Editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|