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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group