ERROR | identifier in CURRENT OF clause is not a cursor name |
CAUSE | The identifier in a CURRENT OF clause names an object other than a cursor. |
ACTION | Check the spelling of the identifier. Make sure that it names the cursor in the DELETE or UPDATE statement and that it names the cursor itself, not a FOR-loop variable. |