Syntax for wildcard selection

Поиск
Список
Период
Сортировка
От Scott Holmes
Тема Syntax for wildcard selection
Дата
Msg-id 200108152306.QAA01448@scotts.mynetwork.net
обсуждение исходный текст
Ответы Re: Syntax for wildcard selection  (Jason Turner <jasont@indigoindustrial.co.nz>)
Re: Syntax for wildcard selection  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Syntax for wildcard selection  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
This question just came up from a user use to our Informix application.  They
tried to do a wildcard search, thus "where field_name LIKE 'AB%VN'".  The
trailing values (after the %) are not recognized correctly.  With Informix
4GL, we wrote "where field_name MATCHES 'AB*VN'".  This finds any combination
of values with 'AB' as the first two characters, and 'VN' as the last two,
with any number of characters in between - including blanks.  How is this
accomplished with PostgreSQL?  Are we limited to wildcard searches as "where
field_name LIKE 'AB%'"?



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: OpenBSD 2.9 - installation works fine but psql won't run
Следующее
От: Jason Turner
Дата:
Сообщение: Re: Syntax for wildcard selection