User-Defined Variables

Поиск
Список
Период
Сортировка
От Daniel Futerman
Тема User-Defined Variables
Дата
Msg-id 6ca02fc80807100115w5560ed1ay2a59e2a3e94eff19@mail.gmail.com
обсуждение исходный текст
Ответы Re: User-Defined Variables  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Re: User-Defined Variables  ("Leif B. Kristensen" <leif@solumslekt.org>)
Список pgsql-general
Hi,

Is there a quick solution to implementing user-defined variables in PostgreSQL as they are used in MySQL?

I have the following MySQL script which i want to implement in Postgres
(NOTE : all ` have been changed to " for Postgres use):

SET @OTHER_CONCEPT_ID = (SELECT "concept_id" FROM "concept_name" where name = 'MRO' LIMIT 1);

Thanks,
Daniel.

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

Предыдущее
От: "Vyacheslav Kalinin"
Дата:
Сообщение: Re: Inaccurate row count estimation
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: User-Defined Variables