X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 7A2989DCA06 for ; Sat, 18 Feb 2006 10:59:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 73872-07 for ; Sat, 18 Feb 2006 10:59:13 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.201]) by postgresql.org (Postfix) with ESMTP id 2E28E9DC9E7 for ; Sat, 18 Feb 2006 10:59:06 -0400 (AST) Received: by nproxy.gmail.com with SMTP id x29so429656nfb for ; Sat, 18 Feb 2006 06:59:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dU7c4UwZxclNOEfa9BcHf3FzJF+VEoH0Rrzw44h4mF8lDh4FTagwUw1dKpZkYWPfBnUvpdxa9rSe+3U940N8hODFyjg5crNPXHkniaNCJEi8Vrvvu8jCIeuj+uo+CwSoq5+Nd86Pg/40ELJ39l1paQEJavFVSmYr9/7ua3jr8dc= Received: by 10.48.255.10 with SMTP id c10mr718754nfi; Sat, 18 Feb 2006 06:59:11 -0800 (PST) Received: by 10.48.210.16 with HTTP; Sat, 18 Feb 2006 06:59:11 -0800 (PST) Message-ID: Date: Sat, 18 Feb 2006 08:59:11 -0600 From: "Michael Shulman" To: "simon smith" Subject: Re: odbc driver update issues Cc: pgsql-odbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.258 required=5 tests=[AWL=-0.018, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.258 X-Spam-Level: X-Archive-Number: 200602/89 X-Sequence-Number: 7218 This looks like the same error that I just found myself getting, which was fixed on changing the driver options from ANSI to Unicode (to agree with my database). This discrepancy was apparently causing the driver to fail to put quotation marks around parameters, thus causing them to be interpreted as columns, which didn't exist. HTH On 2/11/06, simon smith wrote: > I been looking at upgrading from psqlodbc-08_00_0102 to psqlodbc-08_01_02= 00 > > Have there been changes in how stored procedures are called between these > version? As I am having problems. All runs fine with psqlodbc-08_00_0102 > including my stored procedures. However when I move to the new > psqlodbc-08_01_0200 driver the only sql that works in dynamic sql. The > stored procedures return errors. eg > > SELECT MESSAGE, ID_NUMBER FROM SYSTEM_MESSAGES WHERE TITLE =3D ? ORDER BY > MSGSEQ ('INVALIDUSER') being the place holder var > Source:Microsoft OLE DB Provider for ODBC Drivers > Description:Error while executing the query; > ERROR: column "xxx" does not exist > > the "xxx" is not a column, its a parameter. > > has the way that paramerters are handled changed? > > Please Help > > Regards > Simon > > _________________________________________________________________ > Are you using the latest version of MSN Messenger? Download MSN Messenger > 7.5 today! http://messenger.msn.co.uk > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend >