Database Error Messages

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

ORA-06565

cannot execute string from within stored procedure with definer's rights unit

Cause

The named procedure cannot be executed from within a stored procedure, function or package when definer's rights unit is on call stack. This function can only be used from PL/SQL anonymous blocks.


Action

Remove the procedure from the calling stored procedure and execute from an invoker's rights context.