Error

Error Number: 1322
Error Code: ER_SP_BAD_CURSOR_QUERY
SQL State: 42000
ODBC State:
Message: Cursor statement must be a SELECT

Explanation

In progress ...

Additional reading

In progress ...