Re: Referring to derived column name in a RECORD

Поиск
Список
Период
Сортировка
Искать
От
Joe Conway
Тема
Re: Referring to derived column name in a RECORD
Дата
Msg-id
3F99DC33.3010504@joeconway.com
Ответ на
Список
Дерево обсуждения
Referring to derived column name in a RECORD "David B" <postgresql@thegatelys.com>
Re: Referring to derived column name in a RECORD Joe Conway <mail@joeconway.com>
David B wrote:
>   SELECT to_char( created_timestamp, 'DDMMYY' ) AS "joined_on",

>     r_app.joined_on ; -- HOW do I reference this value?...this does not work

Try either making that first line:
   ... AS joined_on,

(i.e. without the double quotes) or make the second one:
   r_app."joined_on";

(i.e. with double quotes)

HTH,

Joe


В списке pgsql-sql по дате отправления
От: David B
Дата:
От: Michael Glaesmann
Дата:
Сообщение: Re: problem with sql
FAQ