Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: CONTINUE loop
Hi Walter, thank you for your advice. The problem is that my program is much more complicated than my simple example. There are several places where I want to branch to the next loop. If I use IFs my code will get nested deeper and deeper and will be much worse to read. This is why other languages offer a CONTINUE command. I guess there is none available in PL/SQL, right?
>
>> end loop;
> for lrec_emp in curs_emp LOOP
> ---processing for all employees
> if lrec_order.dep_id = ln_dept_id then
> --processing for employees of given department--
> end if
> ln_dummy := ln_dummy
Sent via Deja.com
http://www.deja.com/
Received on Tue Jan 09 2001 - 00:25:45 CST
![]() |
![]() |