SQLDescribeCol and column alias

From: Gilles DAROLD <gilles(at)darold(dot)net>
To: pgsql-odbc(at)postgresql(dot)org
Subject: SQLDescribeCol and column alias
Date: 2001-11-15 20:23:58
Message-ID: 3BF4245E.7CFD0154@darold.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2001-11-16 00:08:50 Re: Access 2000 ODBC table links
Previous Message Andrea Aime 2001-11-15 07:23:58 Re: PostgreSQL ODBC Driver Website