Icon Triggers Table

Structure
CREATE TABLE "Triggers"
(
"TableName" VARCHAR(40) COLLATE "ANSI_CI",
"Name" VARCHAR(40) COLLATE "ANSI_CI",
"Description" CLOB COLLATE "ANSI",
"ActionTime" VARCHAR(15) COLLATE "ANSI_CI",
"ActionType" VARCHAR(15) COLLATE "ANSI_CI",
"Condition" CLOB COLLATE "ANSI",
"Definition" CLOB COLLATE "ANSI",
"Enabled" BOOLEAN,
"OrdinalPos" INTEGER,
"CreateSQL" CLOB COLLATE "ANSI_CI",
"DropSQL" CLOB COLLATE "ANSI_CI"
)

CREATE INDEX "TableName" ON "Triggers"
("TableName")

CREATE INDEX "Name" ON "Triggers"
("Name")

Description
This table contains the defined triggers for the tables in an ElevateDB database.

The ActionTime column values are as follows:

ActionTimeDescription
BeforeThe trigger will be executed before the type of operation for which the trigger is defined
AfterThe trigger will be executed after the type of operation for which the trigger is defined
ErrorThe trigger will be executed after any error with the type of operation for which the trigger is defined

The ActionType column values are as follows:

ActionTypeDescription
InsertThe trigger will be executed for any insert operation
UpdateThe trigger will be executed for any update operation
DeleteThe trigger will be executed for any delete operation
AllThe trigger will be executed for all operations (universal trigger)

Related DDL Statements
StatementDescription
CREATE TRIGGERCreates a new trigger
ALTER TRIGGERAlters an existing trigger
DROP TRIGGERDrops an existing trigger
RENAME TRIGGERRenames an existing trigger
Image