Database Error Messages

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

OCI-06561

statement not supported by the DBMS_SQL package

Cause

An attempt was made to parse an unsupported statement by using the PARSE procedure provided by DBMS_SQL package.


Action

Change the statement to be parsed to a supported type. Supported statements begin with SELECT, DELETE, INSERT, UPDATE, LOCK, BEGIN, DECLARE, or << (PL/SQL label delimiter). Also, re-parsing the cursor with container switch is only supported from a non-recursive PARSE call.