pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Richard Broersma <richard.broersma@gmail.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: ODBC escape convert error
Date: Thu, 12 Jun 2008 03:49:21 +0900
Message-ID: <48501E31.5030107@tpf.co.jp> (raw)
In-Reply-To: <396486430806111048u7572d1f7o4851e6a79556ada0@mail.gmail.com>
References: <396486430806111048u7572d1f7o4851e6a79556ada0@mail.gmail.com>

Richard Broersma wrote:
> I've attached a log file with the code for a  prepared insert command.
>  However, when it is executed, I am getting the error:
> 
> ODBC escape convert error.
> 
> It looks like the query never makes it to the sever becuase I don't
> see any statement logged for it.  Does anyone have any ideas?

You may have to replace '{' (ODBC escape) by '(' in the line.

      .CommandText = .CommandText & "      WHERE { T.instrumentcode,
T.instrumentsuff, T.area, T.loopnbr ) IS NULL;

regards,
Hiroshi Inoue



view thread (3+ messages)  latest in thread

Message-ID: <48501E31.5030107@tpf.co.jp>
Permalink:  ../48501E31.5030107@tpf.co.jp/
Also on:    postgresql.org/message-id/48501E31.5030107@tpf.co.jp

 · 

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: inoue@tpf.co.jp, richard.broersma@gmail.com
  Subject: Re: ODBC escape convert error
  In-Reply-To: <48501E31.5030107@tpf.co.jp>
  References: <396486430806111048u7572d1f7o4851e6a79556ada0@mail.gmail.com> <48501E31.5030107@tpf.co.jp>

* 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