| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.tools -> Re: CONTINUE loop
If you're really desperate, put a <<LABEL>> and a NULL; before your END LOOP statement, then GOTO
1 begin
2 for counter in 1..10 loop
3 dbms_output.put_line(counter);
4 goto brk1;
5 dbms_output.put_line('didnt branch');
6 <<brk1>>
7 null;
8 end loop;
In article <93eat6$2oa$1_at_nnrp1.deja.com>,
Thorsten Kettner <thorsten_kettner_at_my-deja.com> wrote:
> 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?
>
>
Sent via Deja.com
http://www.deja.com/
Received on Tue Jan 09 2001 - 11:36:00 CST
![]() |
![]() |