pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lothar Behrens <lothar.behrens@lollisoft.de>
To: pgsql-odbc@postgresql.org
Subject: UPDATE ... WHERE CURRENT OF ... problem
Date: Tue, 9 Nov 2004 08:16:02 +0100
Message-ID: <200411090716.iA97G2C04808@jedi.behrens.de> (raw)

Hi,

I tried to avoid the problem when deleting rows with
the update statement with current of.

This gives me an illegal cursor state. Query and error:

update Kunden  set deleted = 1 where CURRENT OF SQL_CUR00F110E0
SQLExecDirect(). [Microsoft][ODBC Driver Manager] Invalid cursor 
state, SQLSTATE
=24000

I have tried also this: 'SQL_CUR00F110E0' in the query.

Am I missing something ?

Thanks

Lothar

---- My home: www.lollisoft.de -----------------------------
Lothar Behrens    | Independent:       lothar.behrens@gmx.de
Rosmarinstr 3     | My public project: 
40235 Düsseldorf  |  http://sourceforge.net/projects/lbdmf
                  |  -> Need comments, please visit :-)




Message-ID: <200411090716.iA97G2C04808@jedi.behrens.de>
Permalink:  ../200411090716.iA97G2C04808@jedi.behrens.de/
Also on:    postgresql.org/message-id/200411090716.iA97G2C04808@jedi.behrens.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: lothar.behrens@lollisoft.de
  Subject: Re: UPDATE ... WHERE CURRENT OF ... problem
  In-Reply-To: <200411090716.iA97G2C04808@jedi.behrens.de>
  References: <200411090716.iA97G2C04808@jedi.behrens.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox