|
BEFORE|AFTER CREATE ON SCHEMA
Will fire instructions before or after executing a CREATE command on the schema.
Syntax: CREATE OR REPLACE TRIGGER MyTrigger BEFORE CREATE ON SCHEMA
DECLARE –- list declare instructions BEGIN–Instructions END MyTrigger;
BEFORE|AFTER ALTER ON SCHEMA
Will fire instructions before or after executing an ALTER command on the schema.
BEFORE|AFTER DROP ON SCHEMA
Will fire instructions before or after executing a DROP command on the schema.
BEFORE|AFTER TRUNCATE ON SCHEMA
Will fire instructions before or after executing a TRUNCATE command on the schema.
BEFORE|AFTER CREATE ON DATABASE
Will fire instructions before or after executing a CREATE command on the database.
Syntax: CREATE OR REPLACE TRIGGER MyTrigger BEFORE CREATE ON DATABASE DECLARE –- list declare instructions BEGIN –Instructions END MyTrigger;
BEFORE|AFTER DDL ON DATABASE
Will fire instructions before or after executing any DDL command on the database.
|