Error opening cursor
Item
Value
SQLCode
-171
Constant
SQLE_OPEN_CURSOR_ERROR
SQLState
07003
ODBC State
24000
You have attempted to open a cursor on a statement that is not a SELECT statement or a CALL statement.