From: Oliver Jowett <oliver@opencloud.com>
To: Mike Martin <mmartin@vieo.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Wrong column names in ResultSetMetaData
Date: Tue, 03 Aug 2004 10:42:44 +1200
Message-ID: <410EC364.8090004@opencloud.com> (raw)
In-Reply-To: <celqa5$i2c$1@news.hub.org>
References: <ce9dna$pne$1@news.hub.org>
<ce9jk0$15mb$1@news.hub.org>
<41086EF8.7010101@opencloud.com>
<celqa5$i2c$1@news.hub.org>
Mike Martin wrote:
> The only way to "name" a SQL query column is with AS. There's
> corroboration in DatabaseMetaData:
>
> public boolean supportsColumnAliasing() throws SQLException
>
> Retrieves whether this database supports column aliasing.
> If so, the SQL AS clause can be used to provide names for
> computed columns or to provide alias names for columns as
> required.
>
> In both cases, "names" and not "labels".
Is an "alias name" the same as a "column name"?
-O
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, mmartin@vieo.com
Subject: Re: Wrong column names in ResultSetMetaData
In-Reply-To: <410EC364.8090004@opencloud.com>
References: <ce9dna$pne$1@news.hub.org> <ce9jk0$15mb$1@news.hub.org> <41086EF8.7010101@opencloud.com> <celqa5$i2c$1@news.hub.org> <410EC364.8090004@opencloud.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