Invalid cursor states occur when:
A fetch uses a cursor that is not currently open, or
An update where current of or delete where current of affects a cursor row that has been modified or deleted, or
An update where current of or delete where current of affects a cursor row that not been fetched.
| Message | Value | Description | 
|---|---|---|
| 
 | 24000 | Occurs when an attempt is made to fetch from a cursor that has never been opened or that was closed by a commit statement or an implicit or explicit rollback. Reopen the cursor and repeat the fetch. | 
| 
 | 24000 | Occurs when the join column of a multitable cursor has been deleted or changed. Issue another fetch to reposition the cursor. | 
| 
 | 24000 | Occurs when a user issues an update/delete where current of whose current cursor position has been deleted or changed. Issue another fetch before retrying the update/delete where current of. | 
| 
 | 24000 | Occurs when a user issues an update/delete where current of on a cursor that: 
 |