| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: what is the SQL equivalent of 'continue' and 'break' in C ?
Scott wrote:
> happyardy_at_gmail.com wrote:
> > what is the SQL equivalent of 'continue' and 'break' in C ?
> >
> > like can I do this...
> >
> >
> > for counter in 1..10
> > if(something something)
> > ( if (something)
> > ( if(something)
> > then continue;
> >
> > //Rest of the for loop
> >
> > end loop;
> >
> > Would it start the next iteration without processing the rest of the
> > loop ?
> >
> > thanks
> > - Ardy
>
>
>
> loop
> if something
> then
> exit; -- continue, i.e. go on with the rest of the main loop
> end if;
>
>
Scott,
Thanks for that. I'll try it after lunch and see if it works. Will let
you know.
![]() |
![]() |