Re: efficiency of wildcards at both ends

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: efficiency of wildcards at both ends
Дата
Msg-id 4FE21057.2020407@hogranch.com
обсуждение исходный текст
Ответ на Re: efficiency of wildcards at both ends  (Edson Richter <edsonrichter@hotmail.com>)
Ответы Re: efficiency of wildcards at both ends
Список pgsql-general
On 06/20/12 10:37 AM, Edson Richter wrote:
>
> select * from tb1
>   where nome like 'CARLOS%' or reverse(nome) like reverse('%CARLOS')
>
> Should return same results as
> select * from tb1
>   where nome like '%CARLOS%'

no, that won't match 'abcCARLOSxyx'



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


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