X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0B2AB529E2 for ; Thu, 31 Mar 2005 15:22:13 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45052-08 for ; Thu, 31 Mar 2005 14:22:07 +0000 (GMT) Received: from mail.cibal.es (97.Red-80-59-70.pooles.rima-tde.net [80.59.70.97]) by svr1.postgresql.org (Postfix) with ESMTP id 6EB665295D for ; Thu, 31 Mar 2005 15:22:05 +0100 (BST) Received: from miguel2000 ([192.168.200.7]) (authenticated user mjuan@cibal.es) by cibal.es (mail.cibal.es [192.168.200.2]) (MDaemon.PRO.v6.8.5.R) with ESMTP id 12-md50000000135.tmp for ; Thu, 31 Mar 2005 16:23:50 +0200 Message-ID: <005501c535fd$99e6e090$07c8a8c0@miguel2000> From: "Miguel Juan" To: "Luis Sousa" , References: <424BFC05.8040001@ualg.pt> <424C0582.2040809@ualg.pt> Subject: Re: UPDATE problem Date: Thu, 31 Mar 2005 16:26:17 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Authenticated-Sender: mjuan@cibal.es X-Spam-Processed: mail.cibal.es, Thu, 31 Mar 2005 16:23:50 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.200.7 X-Return-Path: mjuan@cibal.es X-MDaemon-Deliver-To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/9 X-Sequence-Number: 5168 Hello, If you already have an existing PsqlOdbc instalation, you just need to copy the psqlodbc.dll file (version 7.03.0200) in the "%WINDOWS%\system32\" folder Regards Miguel Juan ----- Original Message ----- From: Luis Sousa To: pgsql-odbc@postgresql.org Sent: Thursday, March 31, 2005 4:13 PM Subject: Re: [ODBC] UPDATE problem Any of the snapshots available have this problems solved? Luis Sousa wrote: > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org