User variables like: SET @a='test';

Поиск
Список
Период
Сортировка
От Christian Hofmann
Тема User variables like: SET @a='test';
Дата
Msg-id 00b701c61857$86762970$9000a8c0@taschenrechner
обсуждение исходный текст
Список pgsql-novice
Hello,

based on my other question I am trying to find solutions on myself.
I am searching for something like user variables:

SET @a='test';

As desriped here:

http://dev.mysql.com/doc/refman/5.0/en/variables.html

How can I do that in postgresql?

Is there a workaround?

Maybe creating a new configuration variable and using that all the time
based on the session?
How can I do that?

Thank you,

Christian



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

Предыдущее
От: "Christian Hofmann"
Дата:
Сообщение: Setting a variable for current session (set, define or something) for auditing
Следующее
От: Ângelo Marcos Rigo
Дата:
Сообщение: Re: How to set a Default Value