> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Reginaldo Martins > Sent: 31 August 2006 11:34 > To: pgsql-bugs@postgresql.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. ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend