Re: Seeking rows whit \

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Seeking rows whit \
Дата
Msg-id cone.1211169172.189653.52265.1000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Seeking rows whit \  (Francisco Reyes <lists@stringsutils.com>)
Список pgsql-general
Gurjeet Singh writes:

> Thus, writing a pattern that actually matches a literal backslash means
> writing four backslashes in the statement.

Thanks.

 select * from mytable where f1 like '%\\\\%';
Worked.

For the archives..

After reading section 4.1.2.2
Also found that these other one also works
select * from mytable where f1 ~ $$\\$$;
select * from mytable where f1 like $$%\\%$$;







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