Re: [GENERAL] non-case sensitive searches - Mailing list pgsql-general

From Gene Selkov Jr.
Subject Re: [GENERAL] non-case sensitive searches
Date
Msg-id 199901131938.NAA07607@mail.xnet.com
Whole thread Raw
In response to Re: [GENERAL] non-case sensitive searches  (Kevin Heflin <kheflin@shreve.net>)
List 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 by date:

Previous
From: Bernie
Date:
Subject: Graphics Supported?
Next
From: Clark Evans
Date:
Subject: Re: [GENERAL] Graphics Supported?