Re: Cast in PG 8.3

From: "Li, Jingfa" <jinli(at)paypal(dot)com>
To: "Jaime Casanova" <systemguards(at)gmail(dot)com>
Cc: "Franklin Haut" <franklin(dot)haut(at)gmail(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Cast in PG 8.3
Date: 2008-02-05 20:07:53
Message-ID: 0A89F5E49BE1BD418D5113AD3BB51B4102612954@RHV-EXM-01.corp.ebay.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

the column is an integer, no sense for case sensitive or insensitive...

change it to 'like', you'll get what you want.

-----Original Message-----
From: Jaime Casanova [mailto:systemguards(at)gmail(dot)com]
Sent: Tuesday, February 05, 2008 11:47 AM
To: Li, Jingfa
Cc: Franklin Haut; pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Cast in PG 8.3

On Feb 5, 2008 2:39 PM, Li, Jingfa <jinli(at)paypal(dot)com> wrote:
> check the typo -- "ilike"
>

that's not a typo, it's "case insensitive LIKE"

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying to
produce bigger and better idiots.
So far, the universe is winning."
Richard Cook

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Bertheau 2008-02-05 20:12:18 Re: Cast in PG 8.3
Previous Message Jaime Casanova 2008-02-05 19:46:30 Re: Cast in PG 8.3