Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Closing opened cursors
Using the old oracle 7 oci I've run into a simple problem. If oclose
is called twice on a cursor the
"ORA-01001: invalid cursor" error is generated. The question is how do
you check if a cursor has been
opened?
if (&(secondCursor)) {
if (oclose(&(secondCursor))) { flagError(&(secondCursor)); }
ChrisReceived on Mon Mar 19 2001 - 15:41:22 CST
![]() |
![]() |