DDL Triggers
DDL triggers fire on specified metadata change events in a specified phase.BEFORE
triggers run before changes to system tables.AFTER
triggers run after changes to system tables.
DDL triggers are a specific type of database trigger, so most rules for and semantics of database triggers also apply for DDL triggers.