-7085: Function not allowed for this cursor


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 Action:

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