Re: Like problem

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Like problem
Дата
Msg-id 47B32436.3050100@archonet.com
обсуждение исходный текст
Ответ на Re: Like problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Tom Lane wrote:
> Richard Huxton <dev@archonet.com> writes:
>> Campbell, Lance wrote:
>>> WARNING:  nonstandard use of escape in a string literal
>>> LINE 1: ...ct c1 from t1 where c1 like '%abc\_%';
> 
>> Either indicate you are using an escaped string: LIKE E'%abc\_%'
> 
> Actually that's wrong, what he'd need is LIKE E'%abc\\_%'
> (or omit the E and ignore the warning).

<sigh> need to switch to a better coffee...

--   Richard Huxton  Archonet Ltd


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Campbell, Lance"
Дата:
Сообщение: Re: Like problem
Следующее
От: "Bart Degryse"
Дата:
Сообщение: Re: return field from different table conditionally