Database Error Messages

OCI-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