Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

ORA-25007

functions or methods not allowed in WHEN clause

Cause

PLSQL function call or method invocation is not allowed in the WHEN clause when creating a trigger.


Action

Remove the function call or method invocation from the WHEN clause.