DEVFYI - Developer Resource - FYI

Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger ? Why ?

ORACLE Interview Questions and Answers (Part 3)


(Continued from previous question...)

481. Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger ? Why ?

It is not possible. As triggers are defined for each table, if you use COMMIT of ROLLBACK in a trigger, it affects logical transaction processing.

(Continued on next question...)

Other Interview Questions