Re: Wrong column names in ResultSetMetaData - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Wrong column names in ResultSetMetaData
Date
Msg-id 410EC364.8090004@opencloud.com
Whole thread Raw
In response to Re: Wrong column names in ResultSetMetaData  ("Mike Martin" <mmartin@vieo.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Wrong column names in ResultSetMetaData
Next
From: "Mike Martin"
Date:
Subject: Re: Wrong column names in ResultSetMetaData