Re: BUG #2603: SQLDescribeCol return values
> -----Original Message-----
> From: pgsql-bugs-owner(at)postgresql(dot)org
> [mailto:pgsql-bugs-owner(at)postgresql(dot)org] On Behalf Of
> Reginaldo Martins
> Sent: 31 August 2006 11:34
> To: pgsql-bugs(at)postgresql(dot)org
> Subject: [BUGS] BUG #2603: SQLDescribeCol return values
>
>
> I'm developing in VC++ 6.0 and I use SQLDescribeCol to
> determine the type of
> each field. When I have a field in a database table defined
> as CHAR(100) the
> function gives me -8 as type value! Is this normal?
> Plus, if I change to CHAR(255) it returns -10!!
Yes:
SQL_WCHAR = -8
SQL_WLONGVARCHAR = -10
Regards, Dave.
Home |
Main Index |
Thread Index