SQLDescribeCol and column alias - Mailing list pgsql-odbc

From Gilles DAROLD
Subject SQLDescribeCol and column alias
Date
Msg-id 3BF4245E.7CFD0154@darold.net
Whole thread Raw
In response to server --configure postgresql  (yanling xu <helenxyl@yahoo.com>)
List pgsql-odbc
Hi all,

It seems to me that SQLDescribeCol return the realname of a column.
For example when I run a query like that:

    SELECT mycol AS othername FROM mytable;

it returns 'mycol' and not 'othername'. Am I wrong or is there's an
other way to have the alias returned ?

Regards

Gilles Darold


pgsql-odbc by date:

Previous
From: Andy Hallam
Date:
Subject: FW: [GENERAL] ODBC and Native error codes
Next
From: Hiroshi Inoue
Date:
Subject: Re: Access 2000 ODBC table links