Create a Trigger

How To:

To create a Trigger, follow the steps below

Step

Action

See Also

1

Locate the required table in either a diagram or the Project Browser

 

2

Use the context menu to open the Operations dialog

 

3

Add an operation with a name such as TRG_OnCustomerUpdate

The TRG_ prefix is optional, but helps to identify the operation

 

4

In the Stereotype field select trigger

 

5

Click the Save button

 

6

Select the trigger operation, then the Behavior tab

 

7

In the Initial Code field, enter the entire trigger code including the CREATE_TRIGGER statement

 

8

Click the Save button