Background documentation-7085: Function not allowed for this cursor Locate this document in the navigation structure

 

Explanation

You tried to execute a FETCH statement with the FIRST, LAST, PREV, <position> or SAME optional entry for a cursor that is not scrollable. This is only allowed for scrollable cursors.

User Response

Do not use any of the named optional specifications for this cursor, or else use NEXT, or recreate the cursor as a scrollable cursor.