Static Variables in PL/PGSQL

Поиск
Список
Период
Сортировка
Искать

Static Variables in PL/PGSQL

От:
"Michael Dengler" <xchargerx@hotmail.com>
Дата:
Hi,

Is here a way to use static variables in PL/PGSQL?

I have a recursive PL/PGSQL function and need to execute a code only on the 
first iteration of the function (I need to be able to count the function 
iterations).

Any help?

Mike


Re: Static Variables in PL/PGSQL

От:
"A. Kretschmer" <andreas.kretschmer@schollglas.com>
Дата:
am  14.12.2005, um 16:30:34 -0500 mailte Michael Dengler folgendes:
> Hi,
> 
> Is here a way to use static variables in PL/PGSQL?
> 
> I have a recursive PL/PGSQL function and need to execute a code only on the 
> first iteration of the function (I need to be able to count the function 
> iterations).
> 
> Any help?

A table?


HTH, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 
FAQ