Re: SELECT question - Mailing list pgsql-general

From Devrim GUNDUZ
Subject Re: SELECT question
Date
Msg-id 1043969051.963.13.camel@localhost.localdomain
Whole thread Raw
In response to SELECT question  (Brian Avis <brian.avis@searhc.org>)
List pgsql-general
Hi,

On Fri, 2003-01-31 at 01:11, Brian Avis wrote:
> I want to run a SELECT on a text field and match any of the following.
>
> brian
> Brian
> BRIAN
>
> Or any other combination.   How do I tell SQL to ignore case when doing
> a SELECT?

SELECT * FROM table WHERE column ILIKE 'brian%';

should work.

Best regards,
--
Devrim GUNDUZ
www.gunduz.org



pgsql-general by date:

Previous
From: Brian Avis
Date:
Subject: Re: SELECT question
Next
From: Bruno Wolff III
Date:
Subject: Re: Documentation needs significant improvement