


Triggers are identified in the module header by the keyword TRIGGER.
Triggers are routines that are implicitly called by the ADABAS server after the tables or columns associated with the trigger have been modified (INSERT, UPDATE, DELETE). Triggers are used to test complicated integrity rules, to start derived database modifications for the current row or any other row and to implement complicated rules for access protection.
The trigger parameters must correspond to the associated table columns. Within the trigger, processes can be performed with both the old column values (UPDATE, DELETE) and the new column values (UPDATE, INSERT).
A trigger can implicitly call other triggers and explicitly call DB procedures. Each trigger implicitly constitutes a subtransaction.
Triggers have the same functional limitations as DB procedures.


