Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL Question
When you use the
FOR rec IN cursor syntax, your cursor is opened Implicitly and you don't need to close it.
You can open and close cursor explicitly by using the following syntax.
OPEN cursor;
LOOP
FETCH cursor INTO record; EXIT WHEN cursor%NOTFOUND; ....
Ciao Received on Sun Nov 07 1999 - 04:43:26 CST