| From: | Marc Howard Zuckman <marc(at)fallon(dot)classyad(dot)com> |
|---|---|
| To: | Lorenzo Huerta <lorenzo(at)nmsu(dot)edu> |
| Cc: | pgsql-sql(at)postgreSQL(dot)org |
| Subject: | Re: [SQL] case-insensitive lookups... |
| Date: | 1998-07-13 23:56:27 |
| Message-ID: | Pine.LNX.4.00.9807131954180.1933-100000@fallon.classyad.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
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(at)fallon(dot)classyad(dot)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! _
_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
| From | Date | Subject | |
|---|---|---|---|
| Next Message | The Web Administrator | 1998-07-14 04:55:38 | SubQueries |
| Previous Message | Lorenzo Huerta | 1998-07-13 20:26:53 | case-insensitive lookups... |