using variables with postgres

Поиск
Список
Период
Сортировка
От Keala Jacobs
Тема using variables with postgres
Дата
Msg-id 3753F9AE.5623E2C7@itd.sterling.com
обсуждение исходный текст
Список pgsql-hackers
Does postgres support the use of variables as in the example below?


update table1 set column1=@variable
where column2='text4column2'
and @variable=(select column3 from table2 where column4='text4column4');

If not, how do I execute a statement like this in postgres?

Please respond as soon as possible as I am working on a time sensitive
project that depends on this.
Thank you and have a great day


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] LIMITS
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] LIMITS