Previous Topic: DescriptionNext Topic: Example


Processing

An open cursor has three possible positions, as follows:

A cursor referenced in an UPDATE or DELETE statement must be positioned on a row. A cursor can only be positioned on a row as a result of a FETCH statement. If an error occurs during the execution of a FETCH statement that makes the position of a cursor unpredictable, the cursor is closed.