| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Cursor For Loops
I'm not sure what Steve had in mind but it most likely is simply poor
programming practice. In general, one way in and one way out of a block of
code makes it real easy to maintain/understand.
Alex
David Temple wrote in message <353EC784.F3BB304E_at_deakin.edu.au>...
>Reading Oracle PL/SQL by Steven Feuerstein I find that it is a mortal
>sin to RETURN in the middle of a cursor for loop, although the author
>does not give a solid explanation of why, except to say that this is bad
>programming practice. Does anyone have a more thorough explanation?
>
>Thanks
>
>P.S I initially thought that the cursor would not get closed but on
>testing I find that it does get closed
Received on Fri Apr 24 1998 - 17:46:59 CDT
![]() |
![]() |