-820: Invalid declare statement
Explanation:
The keyword FOR was not found in the DECLARE CURSOR statement.
User Action:
Insert the keyword FOR into the DECLARE CURSOR statement.