Re: int2: sql type bug? - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: int2: sql type bug?
Date
Msg-id 48A10BB3.5090403@tpf.co.jp
Whole thread Raw
In response to int2: sql type bug?  ("Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl>)
Responses Re: int2: sql type bug?
List pgsql-odbc
Joost Kraaijeveld wrote:
> Hi,
>
>
> According to SQLColumns the sql type (DATA_TYPE) for a int2 column is
> SQL_INTEGER.

Here I get SQL_SMALLINT(=5) not SQL_INTEGER(=4) for int2 columns;
How do you call SQLColumns() and get the DATA_TYPE ?

regards,
Hiroshi Inoue



pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: c type of int8 / serial8?
Next
From: "Joost Kraaijeveld"
Date:
Subject: Re: c type of int8 / serial8?