1 | The result set of the cursor has at least one row and: For insensitive and keyset cursors, the result set has at
least one row. For dynamic cursors, the result set can have zero, one, or
more rows. | The cursor allocated to this variable is open and: For insensitive and keyset cursors, the result set has at
least one row. For dynamic cursors, the result set can have zero, one, or
more rows. |
-2 | Not applicable. | Can be: No cursor was assigned to this OUTPUT variable by the
previously called procedure. A cursor was assigned to this OUTPUT variable by the
previously called procedure, but it was in a closed state upon completion of
the procedure. Therefore, the cursor is deallocated and not returned to the
calling procedure. There is no cursor assigned to a declared cursor variable. |
-3 | A cursor with the specified name does not exist. | A cursor variable with the specified name does not exist,
or if one exists it has not yet had a cursor allocated to it. |