=20
> -----Original Message-----
> From: pgsql-bugs-owner@postgresql.org=20
> [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of=20
> Reginaldo Martins
> Sent: 31 August 2006 11:34
> To: pgsql-bugs@postgresql.org
> Subject: [BUGS] BUG #2603: SQLDescribeCol return values
>=20
>=20
> I'm developing in VC++ 6.0 and I use SQLDescribeCol to=20
> determine the type of
> each field. When I have a field in a database table defined=20
> 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 =3D -8
SQL_WLONGVARCHAR =3D -10
Regards, Dave.