like with '\'

Поиск
Список
Период
Сортировка
От Nicolas Paymal
Тема like with '\'
Дата
Msg-id LJEIJOMPNLMBFJLMFLKACECICFAA.npaymal@instranet.com
обсуждение исходный текст
Список pgsql-general
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 ?




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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: FW: Merging databases
Следующее
От: Thomas O'Dowd
Дата:
Сообщение: [Fwd: Re: like with '\']