Re: Loop in loop - Mailing list pgsql-general

From George Weaver
Subject Re: Loop in loop
Date
Msg-id 008801c73e39$abaabd60$6400a8c0@Dell4500
Whole thread Raw
In response to Re: Loop in loop  ("Moritz Bayer" <moritz.bayer@googlemail.com>)
List pgsql-general

----Original Message From: Moritz Bayer

>But still the question:
>Is it possible to put a loop into a loop?  Or doesn't it make sense at all?

I'm not sure what the OP was about, but Yes, it it possible to put a loop into a loop.  See:

http://www.postgresql.org/docs/8.2/static/plpgsql-control-structures.html

particularly the references to [ <<label>> ] and EXIT [ label ]  and CONTINUE [ label ] for nested loops.

Regards,
George

pgsql-general by date:

Previous
From: "Jan Muszynski"
Date:
Subject: Re: security question
Next
From: "Peter Rosenthal"
Date:
Subject: Re: MSSQL/ASP migration