In the Triggers view of the IBM® Table Designer or the IBM View Designer, you define the triggers for the IBM database table or view by specifying the time and event to start the trigger, creating the table or view SQL condition, and specifying the action that the trigger performs.
Shows the time for the trigger action.
The value for this field is the value that
select for the Event to Trigger
Action property.
Select a property to see its description in the box under the properties list. If the description exceeds the size of the box, hover the mouse pointer over the last line of text in the box. After a brief pause, the full description is shown in a ScreenTip.
CREATE TRIGGER <name>
<action> ON <table_name>
<operation>
<triggered_action>
For examples of SQL code for a DB2 trigger, see CREATE TRIGGER Sample SQL.
Additional information is available in your DB2 documentation. You can also find information in DB2 SQL documentation that is available through The SQL Reference for Cross-Platform Development Web page on developerWorks.
To use the Visual Studio Query Builder to create the trigger text, right-click in this editor, and then select Query Builder on the shortcut menu. When you close the Query Builder, the SQL code in the Query Builder is automatically pasted in this editor at the insertion point.
You can also select the columns to associate with the SELECT
trigger that is selected in the list.
If the values of any of the selected columns are modified, the trigger will run.
IBM Table Designer | IBM View Designer | Developing IBM Database Tables | Developing IBM Database Views | Managing Database Procedures, Functions, and Objects