Re: Syntax for wildcard selection

Поиск
Список
Период
Сортировка
От Scott Holmes
Тема Re: Syntax for wildcard selection
Дата
Msg-id 200108160011.RAA01695@scotts.mynetwork.net
обсуждение исходный текст
Ответ на Re: Syntax for wildcard selection  (Jason Turner <jasont@indigoindustrial.co.nz>)
Ответы Re: Re: Syntax for wildcard selection  (will trillich <will@serensoft.com>)
Список pgsql-general
It would seem that my database has unseen garbage in the field being queried.
On further testing I find that

select *
from people
where peopcode LIKE 'AB%AH%'
order by peopcode;

works, however

select *
from people
where peopcode LIKE 'AB%AH'
order by peopcode;

does not.  I do have nine records that meet the above criteria and are found
if the pattern ends with '%' but not without it.





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

Предыдущее
От: Killian May
Дата:
Сообщение: Missing Sequence File
Следующее
От: "Danno"
Дата:
Сообщение: check constraints