Re: [GENERAL] count of query results in for loop

2009-07-28 Thread Albe Laurenz
Sim Zacks wrote: > Is there any way to (without a separate count query first) to know the > number of rows returned in a: > > for x in select ... Loop > > ... > > End Loop > > structure? No. Not before you exit the loop. Yours, Laurenz Albe -- Sent via pgsql-general mailing list

[GENERAL] count of query results in for loop

2009-07-28 Thread Sim Zacks
Is there any way to (without a separate count query first) to know the number of rows returned in a: for x in select ... Loop ... End Loop structure? -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql