Background documentation-820: Invalid declare statement Locate this document in the navigation structure

 

Explanation

The keyword FOR was not found in the DECLARE CURSOR statement.

User Response

Insert the keyword FOR into the DECLARE CURSOR statement.