SQL-02118: Invalid row for a WHERE CURRENT OF operation



SQL-02118: Invalid row for a WHERE CURRENT OF operation..

Answer / guest

Cause: An attempt was made to reference a nonexistent row
using the CURRENT OF clause in an UPDATE or DELETE
statement. This happens when no FETCH has been executed or
when FETCH returns a "no data found" error that the program
fails to trap.

Action: Check that the last cursor operation succeeded and
that the current row of the cursor is valid. The outcome of
a cursor operation can be checked in two ways: implicit
checking with the WHENEVER statement or explicit checking of
SQLCODE in the SQLCA.

Please add more information about this Error

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle Errors Interview Questions

KUP-04090: big endian byte order mark found when little endian expected in string

1 Answers  


ORA-28671: UPDATE BLOCK REFERENCES may not be used on a partitioned index as a whole

1 Answers  


ORA-06922: CMX: bad write length

1 Answers  


ORA-19650: Offline-range record recid string stamp string in file string has SCN string

1 Answers  


PLS-01470: The escape character in the like-predicate must be a literal or a variable of type CHAR

1 Answers  


ORA-13193: failed to allocate space for geometry

1 Answers  


ORA-07746: slemrd: invalid error message file handle

1 Answers  


ORA-25213: message with specified RELATIVE_MSGID has been dequeued

1 Answers  


ORA-01238: cannot shrink datafile string

1 Answers  


TNS-01022: Alias string

1 Answers  


IMP-00024: Only one mode (TABLES, FROMUSER, or FULL) can be specified

1 Answers  


ORA-24164: invalid rule engine system privilege: string

1 Answers  


Categories