SQLCODE when using psqlODBC with libODBC++

Поиск
Список
Период
Сортировка
От Jonathan Blitz
Тема SQLCODE when using psqlODBC with libODBC++
Дата
Msg-id 008501c67907$9dbcb5c0$ddf71005@jonathanlaptop
обсуждение исходный текст
Ответы Re: SQLCODE when using psqlODBC with libODBC++  (Ludek Finstrle <luf@pzkagis.cz>)
Список 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 по дате отправления:

Предыдущее
От: zhaoxin
Дата:
Сообщение: how mapping the TEXT Type to the ODBC Type ?
Следующее
От: Bart Samwel
Дата:
Сообщение: Output parameters