Re: Problem with ALIAS?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problem with ALIAS?
Дата
Msg-id 4223.1103731723@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problem with ALIAS?  ("Keith Worthington" <keithw@narrowpathinc.com>)
Список pgsql-novice
"Keith Worthington" <keithw@narrowpathinc.com> writes:
> Thanks Michael.  I understand why PL/pgSQL is confused.  I was trying to set
> the value of that variable for later use not assign a column alias.  How do I
> store the value returned by the query?

SELECT ... INTO, not SELECT ... AS

            regards, tom lane

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

Предыдущее
От: "Keith Worthington"
Дата:
Сообщение: Re: Problem with ALIAS?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Encoding problems