totn Oracle Error Messages

Oracle / PLSQL: ORA-04092 Error Message

Learn the cause and how to resolve the ORA-04092 error message in Oracle.

Description

When you encounter an ORA-04092 error, the following error message will appear:

  • ORA-04092: cannot COMMIT or ROLLBACK in a trigger

Cause

You tried to perform a COMMIT or ROLLBACK in a trigger. This is not allowed.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

Re-write your trigger so that COMMITs and ROLLBACKs are not issued.