Multiple choice technology databases

It is possible to use Transactional control statements in Database Triggers?

  1. True

  2. False

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

Database triggers execute within the context of the triggering DML statement's transaction. Using transactional control statements like COMMIT or ROLLBACK inside a trigger would attempt to end the parent transaction, causing runtime errors.