From: Joe Conway <mail@joeconway.com>
To: David B <postgresql@thegatelys.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Referring to derived column name in a RECORD
Date: Fri, 24 Oct 2003 19:13:07 -0700
Message-ID: <3F99DC33.3010504@joeconway.com> (raw)
In-Reply-To: <GOEGKICPFOPNLIEIHGFJEEHKCCAA.postgresql@thegatelys.com>
References: <GOEGKICPFOPNLIEIHGFJEEHKCCAA.postgresql@thegatelys.com>
David B wrote:
> SELECT to_char( created_timestamp, 'DDMMYY' ) AS "joined_on",
<snip>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mail@joeconway.com, postgresql@thegatelys.com
Subject: Re: Referring to derived column name in a RECORD
In-Reply-To: <3F99DC33.3010504@joeconway.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox