Re: [SQL] How match percent sign in SELECT using LIKE?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] How match percent sign in SELECT using LIKE?
Дата
Msg-id 199903171630.LAA10656@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] How match percent sign in SELECT using LIKE?  (Herouth Maoz <herouth@oumail.openu.ac.il>)
Список 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 по дате отправления:

Предыдущее
От: Angelo CONFLITTI
Дата:
Сообщение: Problems with OUTER JOIN - UNION ... and so on ..
Следующее
От: "Bill Barber"
Дата:
Сообщение: unsubscribe