Multiple choice technology databases

DDL statements are allowed in the database triggers

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

DDL statements (CREATE, ALTER, DROP, TRUNCATE, RENAME) are NOT allowed in database triggers because triggers execute within the context of a transaction and DDL operations issue implicit commits. This would break the transactional integrity. Only DML and DCL are permitted.