Time (Trigger Keyword)
Specifies whether the trigger is fired before or after the event.
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 Defining and Using Classes
-
“Using Triggers” in Using InterSystems SQL
-
“Introduction to Compiler Keywords” in Defining and Using Classes