From: | "postgresql" <pgsql(at)symcom(dot)com> |
---|---|
To: | "Stephan Szabo" <sszabo(at)megazone23(dot)bigpanda(dot)com>, "Megalex" <megalex(at)klanomega(dot)com>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: problems with single quotes.. |
Date: | 2001-12-03 03:20:48 |
Message-ID: | 200112030308.fB338em54420@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
but this is exactally correct behavior.....you can use either two single quotes to
escape the quote or the backslash so.....
' '' \\ '' '
singlequote to start the sequence(string)
two singlequotes to insert an escape then a singlequote (yields a single quote)
a backslash to escape the following backslash (yields a single backslash)
two singlequotes to insert an escape then a singlequote (yields a single quote)
then ended by a single quote
this is acting correctly.....
Ted
-----Original Message-----
From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Megalex <megalex(at)klanomega(dot)com>
Date: Sun, 2 Dec 2001 14:21:33 -0800 (PST)
Subject: Re: [SQL] problems with single quotes..
> On Thu, 4 Jan 2001, Megalex wrote:
>
> > i already tried escaping it.. but the problem is
> > with the singlequote-backslash-singlequote combinations..
>
> '''\\''' seems to insert a singlequote-backslash-singlquote
> for me.
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo(at)postgresql(dot)org
>
From | Date | Subject | |
---|---|---|---|
Next Message | Steve Frampton | 2001-12-03 05:03:36 | ODBC queries die; "Unexpected protocol character from backend" |
Previous Message | Roberto Mello | 2001-12-02 22:25:04 | Re: problems with single quotes.. |