pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Megalex <megalex@klanomega.com>
To: pgsql-sql@postgresql.org
Subject: Re: problems with single quotes..
Date: Thu, 4 Jan 2001 13:50:01 -0600
Message-ID: <003401c07687$8631ff60$0301a8c0@klanomega.com> (raw)
References: <20011201182212.R74581-100000@megazone23.bigpanda.com>
	<000b01c07680$29fb2430$0301a8c0@klanomega.com>
	<20011202073819.28521.qmail@gnumed.dhs.org>

i already tried escaping it.. but the problem is
with the singlequote-backslash-singlequote combinations..


----- Original Message ----- 
From: "Horst Herb" <hherb@malleenet.net.au>
To: "Megalex" <megalex@klanomega.com>
Cc: <pgsql-sql@postgresql.org>
Sent: Sunday, December 02, 2001 1:44 AM
Subject: Re: [SQL] problems with single quotes..


> On Friday 05 January 2001 05:57, Megalex wrote:
> 
> > everytime i try to run an insert and my text contains '\'
> > it fails..
> 
> > Insert Into table(userID,FirstName,LastName) values(1,'''\''','test')
> > and i get this message...
> 
> > how can i fix this??
> 
> by escaping the '\'
> try
> Insert Into table(userID,FirstName,LastName) values(1,'\\','test')
> ant it will work
> 
> CHeers,
> HOrst




view thread (12+ messages)  latest in thread

Message-ID: <003401c07687$8631ff60$0301a8c0@klanomega.com>
Permalink:  ../003401c07687$8631ff60$0301a8c0@klanomega.com/
Also on:    postgresql.org/message-id/003401c07687$8631ff60$0301a8c0@klanomega.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-sql@postgresql.org
  Cc: megalex@klanomega.com
  Subject: Re: problems with single quotes..
  In-Reply-To: <003401c07687$8631ff60$0301a8c0@klanomega.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