Re: [SQL] How match percent sign in SELECT using LIKE? - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] How match percent sign in SELECT using LIKE?
Date
Msg-id 199903171630.LAA10656@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] How match percent sign in SELECT using LIKE?  (Herouth Maoz <herouth@oumail.openu.ac.il>)
List pgsql-sql
> Thus, if someone has a script written to the SQL92 standard, he is allowed
> to use a construct like
>
> ...WHERE pathname LIKE 'C:\WINDOWS\%'
>
> Without encountering oddities.

Yes, but all our strings us '\' as escape.  If we turn it off just for
the LIKE string, people will be very confused.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-sql by date:

Previous
From: Angelo CONFLITTI
Date:
Subject: Problems with OUTER JOIN - UNION ... and so on ..
Next
From: "Bill Barber"
Date:
Subject: unsubscribe