RES: Return code for bad command

Поиск
Список
Период
Сортировка
Искать
От
Renato Gondim
Тема
RES: Return code for bad command
Дата
Msg-id
000201c68898$09b32620$3c35a8c0@MRENATO
Ответ на
Список
Дерево обсуждения
Return code for bad command "Jonathan Blitz" <jb@anykey.co.il>
Re: Return code for bad command Ludek Finstrle <luf@pzkagis.cz>
RES: Return code for bad command "Renato Gondim" <Renato.Gondim@SoftwareExpress.com.br>
Re: RES: Return code for bad command Ludek Finstrle <luf@pzkagis.cz>
Re: Return code for bad command "Jonathan Blitz" <jb@anykey.co.il>
I'm having the same behavior and the sqlstate returns the same code: HY000.
Reading the MSDN this code is described as "General error".

Renato Gondim.

-----Mensagem original-----
De: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org]
Em nome de Ludek Finstrle
Enviada em: domingo, 4 de junho de 2006 13:05
Para: Jonathan Blitz
Cc: pgsql-odbc@postgresql.org
Assunto: Re: [ODBC] Return code for bad command

> I am using PostgreSQL version 8.0 with VC++ 2005.
> 
> I use the native VC++ ODBC classes to access the PostgreSQL ODBC driver.
> 
> When I issue an SQL command with an error I always get the same error
code:
> 7

...

> Is this a bug or am I doing something wrong?

It's normal behaviour. Let's try read sqlstate (I don't know how it is
accessed through VC++ ODBC classes.

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

В списке pgsql-odbc по дате отправления
От: Jonathan Blitz
Дата:
От: Ludek Finstrle
Дата:
FAQ