pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Andrews <pete@piedmontdata.com>
To: pgsql-interfaces@postgresql.org
Subject: ODBC string insert problem
Date: Thu, 18 Mar 1999 16:39:00 -0500
Message-ID: <36F17273.D1ABBC98@piedmontdata.com> (raw)

I am unable to insert the following string:

40'S?

into a varchar field through my ODBC driver.  The statement:

insert into test values('40\'S?');

works perfectly using psql, but when I execute it through the ODBC
driver, I get the following error message:

parse error at or near ""

In fact, my ODBC driver seems to do this whenever I attempt to insert a
string with a question mark after a single quote.  I am using PostgreSQL
6.4.2 and the Insight ODBC driver version 6.40.0004.  If anyone has run
into this before, I would greatly apprciate your help.

Peter Andrews




view thread (2+ messages)  latest in thread

Message-ID: <36F17273.D1ABBC98@piedmontdata.com>
Permalink:  ../36F17273.D1ABBC98@piedmontdata.com/
Also on:    postgresql.org/message-id/36F17273.D1ABBC98@piedmontdata.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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pete@piedmontdata.com
  Subject: Re: ODBC string insert problem
  In-Reply-To: <36F17273.D1ABBC98@piedmontdata.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