Re: Declaring constants in PG/PLSQL

Поиск
Список
Период
Сортировка
От Jules Alberts
Тема Re: Declaring constants in PG/PLSQL
Дата
Msg-id 200201211457.g0LEvtLs009896@artemis.cuci.nl
обсуждение исходный текст
Ответ на Declaring constants in PG/PLSQL  (Mark Hesketh <renmark@iprimus.com.au>)
Список pgsql-novice
On 21 Jan 2002 at 22:33, Mark Hesketh wrote:
> Can someone tell me if it's possible to globally scope my constants? How
> do I declare them for reuse? Don't tell me I have to keep definining
> them across all my functions??

(i'm a complete newbie, so if this is too stupid, please ignore)

i don't know if there is a direct way to do this, but a workaround
could be creating a table myconstants with two columns name and value.
or someting like storing the name - value pairs in a textfile and read
that at runtime.

--
Jules Alberts.

В списке pgsql-novice по дате отправления:

Предыдущее
От: Mark Hesketh
Дата:
Сообщение: Declaring constants in PG/PLSQL
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: Declaring constants in PG/PLSQL