Re: [GENERAL] Case insensitive "contains" search - Mailing list pgsql-general

From Oleg Broytmann
Subject Re: [GENERAL] Case insensitive "contains" search
Date
Msg-id Pine.SOL2.3.96.SK.981109133154.972E-100000@sun.med.ru
Whole thread Raw
In response to Case insensitive "contains" search  ("Wim Ceulemans" <wim.ceulemans@pophost.eunet.be>)
List pgsql-general
Hi!

On Mon, 9 Nov 1998, Wim Ceulemans wrote:
>
> select * from tablex where name = '%test%';
>
> When I want exactly the same but case insensitive, how do I do that? By

   Convert all to uppercase. Something like
select * from tablex where UPPER(name) = '%TEST%';

Oleg.
----
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.


pgsql-general by date:

Previous
From: Postgres DBA
Date:
Subject: Re: [GENERAL] Case insensitive "contains" search
Next
From: Memphisto
Date:
Subject: postgreSQL 6.3.2 and AIX