Re: problems with single quotes.. - Mailing list pgsql-sql

From Megalex
Subject Re: problems with single quotes..
Date
Msg-id 003401c07687$8631ff60$0301a8c0@klanomega.com
Whole thread Raw
In response to Re: Unexpected Return from Function  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Responses Re: problems with single quotes..
Re: problems with single quotes..
List pgsql-sql
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

pgsql-sql by date:

Previous
From: Horst Herb
Date:
Subject: Re: problems with single quotes..
Next
From: Stephan Szabo
Date:
Subject: Re: problems with single quotes..