Database Error Messages

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

PCC-02334

SQL identifier was not declared as a cursor

Cause

A cursor name was used in an OPEN, FETCH, or CLOSE statement that had not been DECLAREd.


Action

Check that all SQL cursor names have been declared. Remember that cursors are identifiers, not variables, and that they are local to the precompilation unit.