Re: Case sensitivity issue

From: "Jeff Eckermann" <jeckermann(at)verio(dot)net>
To: "Michael Gay" <mike7411(at)earthlink(dot)net>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Case sensitivity issue
Date: 2001-09-14 21:27:50
Message-ID: 02cd01c13d64$1d05ae20$279c10ac@INTERNAL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

use "ILIKE" instead of "LIKE"
or use a regular expression match: ~* 'red'

----- Original Message -----
From: "Michael Gay" <mike7411(at)earthlink(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Sunday, September 09, 2001 11:02 PM
Subject: [GENERAL] Case sensitivity issue

> If I am doing a command such as
>
> select * from Apples where color like '%red%';
>
> how do I make it case insensitive?
>
> Thanks.
>
> mike
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeff Eckermann 2001-09-14 21:33:27 Re: joinning tables
Previous Message Linh Luong 2001-09-14 21:26:46 Diabling constraints