Re: [PHP] Case Insensitive Searching? - Mailing list pgsql-novice

From Bruno Wolff III
Subject Re: [PHP] Case Insensitive Searching?
Date
Msg-id 20030525135630.GB1057@wolff.to
Whole thread Raw
List pgsql-novice
On Fri, May 23, 2003 at 13:24:36 -0700,
  Ben Schneider <bcschnei@attbi.com> wrote:
>
> So the question is, how do I perform a case insensitive search? Is there a
> DB setting I can set to ignore the case?

If you were using "like", you can use "ilike" instead. There is also
a case insensitive version of the regular expression pattern matching
operator. In some cases you may want to use the "lower" function
to get the data in just one case before doing a comparison. Without
seeing how you are doing your searches now it is hard to provide
specifics on what to do to make them case insensitive.

pgsql-novice by date:

Previous
From: "John K. Herreshoff"
Date:
Subject: Using SSL on VB5 Apps
Next
From: jestin nelly
Date:
Subject: pb with installing phpPgAdmin