Re: [GENERAL] non-case sensitive searches

Поиск
Список
Период
Сортировка
От Gene Selkov Jr.
Тема Re: [GENERAL] non-case sensitive searches
Дата
Msg-id 199901131938.NAA07607@mail.xnet.com
обсуждение исходный текст
Ответ на Re: [GENERAL] non-case sensitive searches  (Kevin Heflin <kheflin@shreve.net>)
Список pgsql-general
> > You can also use regexp expression like this :
> >
> >     SELECT * FROM photos WHERE keywords ~* '.*$cat_name.*';
> >
> > it works fine.
>
>
> Thanks for the tip. Any recommendations as to which would be faster when
> searching about 2,000 records or so..

LIKE is faster, but with 2,000 records, you won't be able to tell the
difference. It takes a blink.

--Gene

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

Предыдущее
От: Bernie
Дата:
Сообщение: Graphics Supported?
Следующее
От: Clark Evans
Дата:
Сообщение: Re: [GENERAL] Graphics Supported?