Oracle Error Message
PLS-00309: with %LAST attribute, ‘string’ must be a variable of an enumerated type
Reason for the Error
The “%LAST” attribute must be applied to an identifier that has been declared as a variable of an enumerated type (or subtype of an enumerated type). This error occurs when “%LAST” follows some identifier that has not been so declared.
Solution
None