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

SQLCODE when using psqlODBC with libODBC++

From: "Jonathan Blitz" <jb(at)anykey(dot)co(dot)il>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: SQLCODE when using psqlODBC with libODBC++
Date: 2006-05-16 16:41:39
Message-ID: 008501c67907$9dbcb5c0$ddf71005@jonathanlaptop (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
I am using PostgreSQL version 8 with psqlODBC as the ODBC driver.


I am writing programs in C++ and using libODBC++ for the C++ interface.


Everything works great except:

When I get an SQL error it returns SQLCODE of 7 and SQLSTATE of “HY000”
every time.

The only correct value is the SQLERRM.


I am probably doing something stupid but I couldn’t find anything anywhere
about it.


Jonathan Blitz


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.6/340 - Release Date: 05/15/2006


pgsql-odbc by date

Next:From: Bart SamwelDate: 2006-05-17 08:46:07
Subject: Output parameters
Previous:From: zhaoxinDate: 2006-05-16 14:18:57
Subject: how mapping the TEXT Type to the ODBC Type ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group