Re: SQLDescribeCol and column alias

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: gilles(at)darold(dot)net
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: SQLDescribeCol and column alias
Date: 2001-11-16 00:43:21
Message-ID: 3BF46129.729EB2A4@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Gilles DAROLD wrote:
>
> 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 ?

Aren't you turning on Parse Statement option ?
Porbably you can get the alias name by turning off the option.
Anyway I would fix it soon.
The fix would be included in the next release.

Thanks for the report.
Hiroshi Inoue

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Gilles DAROLD 2001-11-16 09:25:38 Turning off Parse Statement
Previous Message Hiroshi Inoue 2001-11-16 00:08:50 Re: Access 2000 ODBC table links