Re: SQLDescribeCol and column alias

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: SQLDescribeCol and column alias
Дата
Msg-id 3BF46129.729EB2A4@tpf.co.jp
обсуждение исходный текст
Ответ на server --configure postgresql  (yanling xu <helenxyl@yahoo.com>)
Список 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

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Access 2000 ODBC table links
Следующее
От: Gilles DAROLD
Дата:
Сообщение: Turning off Parse Statement