Creating triggers v14
The CREATE TRIGGER
command defines and names a trigger that's stored in the database.
Name
CREATE TRIGGER
— Define a simple trigger.
Synopsis
Name
CREATE TRIGGER
— Define a compound trigger.
Synopsis
Where private_declaration
is an identifier of a private variable that can be accessed by any procedure or function. There can be zero, one, or more private variables. private_declaration
can be any of the following:
- Variable declaration
- Record declaration
- Collection declaration
REF CURSOR
and cursor variable declarationTYPE
definitions for records, collections, andREF CURSOR
- Exception
- Object variable declaration
Where procedure_or_function_definition :=
procedure_definition | function_definition
Where procedure_definition :=