Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 ?


Gilles Darold

In response to


pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group