From: Luis Sousa <llsousa@ualg.pt>
To: pgsql-odbc@postgresql.org
Subject: UPDATE problem
Date: Thu, 31 Mar 2005 14:32:53 +0100
Message-ID: <424BFC05.8040001@ualg.pt> (raw)
Hi all,
I'm using Postgresql 7.3.4-9 Debian binaries and ODBC 8.00.01.01, on
Windows 2003 Server.
Using ODBC, when the instruction
PREPARE "_PLAN586fbb8"(int4, int4) as UPDATE "public"."plano" SET
"alunosInscritos"=$1 WHERE "oid" = $2;EXECUTE "_PLAN586fbb8"(40,1676937)
I get the following error:
ERROR: parser: parse error at or near "=$" at character 84
I changed from "alunosInscritos"=$1 to "alunosInscritos" = $1 and worked.
Is there any workaround for this?
Also, I thought, probably using an older version of ODBC driver could
create a different SQL expression, but, when I tried to uninstall the
driver from Add/Remove Programs, everything went ok, but on ODBC Data
Sources -> Drivers, the driver still remains there.
Then I installed 7.03.0200, but didn't write over the other driver? How
can I deinstall the most recent driver and install an older one?
Best regards,
Luis Sousa
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: llsousa@ualg.pt
Subject: Re: UPDATE problem
In-Reply-To: <424BFC05.8040001@ualg.pt>
References: <424BFC05.8040001@ualg.pt>
* 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