Database Error Messages

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

ORA-34658

(MXSQL25) The words CURSOR FOR TEXT must be followed by a compile-time text expression specifying a SELECT command.

Cause

A SQL DECLARE csr CURSOR FOR TEXT command lacked a text expression, or the expression was otherwise invalid.


Action

Specify a single text expression that can be evaluated at compile time to yield a SELECT statement