docs.intersystems.com
Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Trigger Keywords  /  Foreach


Class Definition Reference
Foreach
[Back]  [Next] 
InterSystems: The power behind what matters   
Search:  


Controls when the trigger is fired.
Usage
To specify when the trigger is fired, use the following syntax:
Trigger name [ Event = sqlevent, Foreach = foreach ]  {    //implementation }
Where foreach is one of the following values:
Details
Controls when the trigger is fired.
Default
If you omit this keyword, the trigger is a row-level trigger.
Exception
Row-level triggers are not supported for TSQL.
See Also