CHAPTER 10 Database Error Messages
797
Illegal cursor operation attempt
Item Value
SQLCODE -187
Constant SQLE_CURSOROP_NOT_ALLOWED
SQLSTATE 09W02
Sybase error code 9526
ODBC 2 State 07005
ODBC 3 State 07005
You attempted an illegal cursor operation. For example, you may be
attempting to OPEN a cursor for a statement that is neither a SELECT nor a
BATCH.
Illegal reference to correlation name ’%1’ in ON condition
Item Value
SQLCODE -824
Constant SQLE_INVALID_CORRELATION_NAME_REFERE
NCE
SQLSTATE 42U01
Sybase error code 13830
ODBC 2 State S0002
ODBC 3 State 42S02
Parameter 1 The correlation name which is incorrectly referenced.
Your query contains a reference in an table expression’s ON condition to a
correlation name that is not contained in that table expression.
Probable cause
Probable cause