[Fwd: Re: like with '\']

From: Thomas O'Dowd <tom(at)nooper(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: [Fwd: Re: like with '\']
Date: 2002-08-22 10:24:36
Message-ID: 1030011876.15193.210.camel@beast.uwillsee.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

its in the docs...

like 'c:\\\\temp\\\\foo\\\\%'

Cheers,

Tom.

On Thu, 2002-08-22 at 18:58, Nicolas Paymal wrote:
> Is there a way to use like for searching a '\' ?
> I have a column which contains a windows path ex c:\temp\foo
> I 'am searching all entries which contains this path but I never match.
> I tried :
> like 'c:\temp\foo%'
> like 'c:\\temp\\foo%'
> like 'c:&\temp&\foo%' escape '&'
>
> is there another way ?
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
--
Thomas O'Dowd. - Nooping - http://nooper.com
tom(at)nooper(dot)com - Testing - http://nooper.co.jp/labs

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-08-22 13:53:48 Re: pg_statistic_relid_att_index
Previous Message Nicolas Paymal 2002-08-22 09:58:06 like with '\'