Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

Language

Specifies the language in which the trigger is written.

Usage

To specify language in which the trigger is written, use the following syntax:

Trigger NewTrigger1 [ Event = sqlevent, Language = language ]
{
   //implementation
}

Where language is one of the following values:

  • cache — this trigger is written in ObjectScript (default).

  • tsql — this trigger is written in TSQL. If you use this value, the trigger must be a statement-level trigger; that is, the setting of the Foreach keyword must be statement.

Details

This keyword specifies the language in which the trigger is written.

Default

If you omit this keyword, the language is ObjectScript.

See Also

FeedbackOpens in a new window