15.10 - ORDER - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

Keyword allowing you to control the order of trigger execution within a request when multiple triggers are defined on a subject table.

ORDER values determine the execution sequence when two or more triggers have the identical trigger action time and trigger event.

If triggers have the same ORDER value, trigger action time, and trigger event, then they execute in order of their creation timestamp.

integer
Value assigned to ORDER.
The value must be any positive small integer not greater than 32,767.
If the ORDER clause is not specified, the system assigns a default value of 32,767 to the trigger.