Time
Usage
To specify whether the trigger is fired before or after the event, use the following syntax:
Trigger name [ Event = sqlevent, Time = time ] { //implementation }
Where time is one of the following:
-
AFTER — this trigger is fired after an event.
-
BEFORE — this trigger is fired before an event.
Details
This keyword specifies whether the trigger is fired before or after the event.
Default
The default value is BEFORE.
See Also
-
“Trigger Definitions” in this book
-
“Defining Method and Trigger Generators” in Using Caché Objects
-
“Using Triggers” in Using Caché SQL
-
“Introduction to Compiler Keywords” in Using Caché Objects