Oracle Error PLS-00208: identifier ‘string’ is not a legal cursor attribute

Oracle Error Message

PLS-00208: identifier ‘string’ is not a legal cursor attribute

Reason for the Error

An identifier not declared as a cursor attribute was applied to an identifier declared as a cursor. For example, this error occurs if the cursor attribute is misspelled.

Solution

Check the spelling of the cursor attribute name. Make sure the attribute is one of these: %NOTFOUND, %FOUND, %ROWCOUNT, %ISOPEN.