"Error opening cursor"
SQLCode
-171L
Constant
OPEN_CURSOR_ERROR
SQLState
07003
ODBC 2 State
24000
ODBC 3 State
Sybase Error Code
2110
Severity Code
15
You attempted to open a cursor on a statement that is not SELECT, CALL or EXEC.