Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: PLS/SQL: OK to use EXIT in a cursor FOR LOOP ??
Kenneth C Stahl wrote:
>
> Connor McDonald wrote:
> >
> >
> > Another nice thing is that you don't even need a cursor...
> >
> > for i in ( select my_data, some_more
> > from my_table ) loop
> >
> > blah blah blah
> > end loop;
> >
> > works quite nicely...
> > --
>
> Using that method, how do you access the cursor attributes? %ROWCOUNT
> for instance?
Well spotted....I have never tried...
I aint near my db at the moment - Try sql%rowcount and let me know ?
Cheers
--
"Some days you're the pigeon, and some days you're the statue." Received on Mon Jun 21 1999 - 09:12:46 CDT