Explanation

The SQL statement supplied when declaring a cursor must be a valid SQL select statement.