Learning
Community
Open Exchange
Global Masters
InterSystems IRIS Data Platform 2019.3 / Application Development / Class Definition Reference / Trigger Keywords / NewTable
Previous section   Next section

NewTable

Specifies the name of the transition table that stores the new values of the row or statement affected by the event.

Usage

To specify the name of the transition table that stores the new values, use the following syntax:
Trigger name [ Event = sqlevent, OldTable = oldtable, NewTable = newtable ] {    //implementation }
Where newtable is the name of an SQL table in this namespace.

Details

Each trigger has access to the old and new values of the row or statement affected by the event, by means of transition tables (specified by the OldTable and NewTable keywords).

Default

The default value for the NewTable keyword is null.

See Also

Previous section   Next section