Re: Non case sensitive

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: roy simkes <roysimkes(at)hotmail(dot)com>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Non case sensitive
Date: 2006-08-14 13:12:58
Message-ID: C105EF1A.F43D%sdavis2@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 8/14/06 8:57 AM, "roy simkes" <roysimkes(at)hotmail(dot)com> wrote:

> Is there a way that select's where clause can be used as insensitive to the
> case? I mean:
> "SELECT * FROM table WHERE field LIKE 'f' " will return every row that field
> begins with a "f" or a "F". Without writing " field LIKE 'f' OR field LIKE 'F'
> " of course.

Use ILIKE instead of LIKE?

Sean

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message roy simkes 2006-08-14 13:27:31 Re: Non case sensitive
Previous Message Shoaib Mir 2006-08-14 13:04:37 Re: Non case sensitive