pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Shulman <shulman@math.uchicago.edu>
To: simon smith <minos46@hotmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: odbc driver update issues
Date: Sat, 18 Feb 2006 08:59:11 -0600
Message-ID: <c3f821000602180659r1b2f6978h7ca616cd47dbc4c5@mail.gmail.com> (raw)
In-Reply-To: <BAY105-F39234AC219FCAF3DA46A15BB050@phx.gbl>
References: <BAY105-F39234AC219FCAF3DA46A15BB050@phx.gbl>

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 <minos46@hotmail.com> wrote:
> I been looking at upgrading from psqlodbc-08_00_0102 to psqlodbc-08_01_0200
>
> 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 = ? 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
>



view thread (2+ messages)

Message-ID: <c3f821000602180659r1b2f6978h7ca616cd47dbc4c5@mail.gmail.com>
Permalink:  ../c3f821000602180659r1b2f6978h7ca616cd47dbc4c5@mail.gmail.com/
Also on:    postgresql.org/message-id/c3f821000602180659r1b2f6978h7ca616cd47dbc4c5@mail.gmail.com

 · 

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: shulman@math.uchicago.edu, minos46@hotmail.com
  Subject: Re: odbc driver update issues
  In-Reply-To: <c3f821000602180659r1b2f6978h7ca616cd47dbc4c5@mail.gmail.com>
  References: <BAY105-F39234AC219FCAF3DA46A15BB050@phx.gbl> <c3f821000602180659r1b2f6978h7ca616cd47dbc4c5@mail.gmail.com>

* 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