pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
case-insensitive lookups...
2+ messages / 2 participants
[nested] [flat]

* case-insensitive lookups...
@ 1998-07-13 20:26  Lorenzo Huerta <lorenzo@nmsu.edu>
  0 siblings, 1 reply; 2+ messages in thread

From: Lorenzo Huerta @ 1998-07-13 20:26 UTC (permalink / raw)
  To: pgsql-sql


is there a way to do selects /etc on fields without regard to upper/lower
case of the data in the fields? 


Thanks,
      
     __________________________________________________________________
     *  Lorenzo J. Huerta                                             *
     *  Programming Assistant                                         *
     *  Computing & Networking Networking Architecture and Operations *
     *  New Mexico State University                                   *
     *  phone: (w)(505)646-2582 (h)(505) 521-8699 fax:(505) 646-8139  *
     *  e-mail: lorenzo@nmsu.edu                                      *
     *  Web Site: http://web.nmsu.edu/~ljhuerta                       *
     __________________________________________________________________




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [SQL] case-insensitive lookups...
@ 1998-07-13 23:56  Marc Howard Zuckman <marc@fallon.classyad.com>
  parent: Lorenzo Huerta <lorenzo@nmsu.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Marc Howard Zuckman @ 1998-07-13 23:56 UTC (permalink / raw)
  To: Lorenzo Huerta <lorenzo@nmsu.edu>; +Cc: 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@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!				      _
_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-07-13 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-07-13 20:26 case-insensitive lookups... Lorenzo Huerta <lorenzo@nmsu.edu>
1998-07-13 23:56 ` Marc Howard Zuckman <marc@fallon.classyad.com>

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