Re: SELECT question - Mailing list pgsql-general

From scott.marlowe
Subject Re: SELECT question
Date
Msg-id Pine.LNX.4.33.0301301616550.23648-100000@css120.ihs.com
Whole thread Raw
In response to Re: SELECT question  (Brian Avis <brian.avis@searhc.org>)
List pgsql-general
On Thu, 30 Jan 2003, Brian Avis wrote:

> Assuming the data in the text field will resemble any of the following.
>
> Brian K. Avis
> Brian Avis
> Brian
>
> Or whatever combo.
>
>
> 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?

the other method, which I forgot to add to my previous post is to user
lower()

select * from table where lower(name) like '%bruce%';



pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: SELECT question
Next
From: Mitch
Date:
Subject: Security Question