From: Marc Howard Zuckman <marc@fallon.classyad.com>
To: Lorenzo Huerta <lorenzo@nmsu.edu>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] case-insensitive lookups...
Date: Mon, 13 Jul 1998 19:56:27 -0400 (EDT)
Message-ID: <Pine.LNX.4.00.9807131954180.1933-100000@fallon.classyad.com> (raw)
In-Reply-To: <Pine.SOL.3.96.980713142510.19622B-100000@wilma>
On Mon, 13 Jul 1998, Lorenzo Huerta wrote:
>
> is there a way to do selects /etc on fields without regard to upper/lower
> case of the data in the fields?
select * from tablename where attribute ~* 'stringvalue' ;
^^ the case insensitive regex
equality operator.
Marc Zuckman
marc@fallon.classyad.com
_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
_ Visit The Home and Condo MarketPlace _
_ http://www.ClassyAd.com _
_ _
_ FREE basic property listings/advertisements and searches. _
_ _
_ Try our premium, yet inexpensive services for a real _
_ selling or buying edge! _
_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: marc@fallon.classyad.com, lorenzo@nmsu.edu
Subject: Re: [SQL] case-insensitive lookups...
In-Reply-To: <Pine.LNX.4.00.9807131954180.1933-100000@fallon.classyad.com>
References: <Pine.SOL.3.96.980713142510.19622B-100000@wilma> <Pine.LNX.4.00.9807131954180.1933-100000@fallon.classyad.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox