Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> REPOST: Re: Dealing with case sensitivity

REPOST: Re: Dealing with case sensitivity

From: Daniel A. Morgan <damorgan_at_exesolutions.com>
Date: Sun, 27 Jan 2002 11:16:47 +0000
Message-ID: <7$--$%%%%---%-%%_$@news.noc.cabal.int>


Or

SELECT *
FROM employee
WHERE UPPER(lastname) LIKE UPPER('ha%');

But I definitely like the use of function based indexes where appropriate.

Daniel Morgan

Bricklen Anderson wrote:

> try: select * from employee where lastname like UPPER('HA%');
>
> John Harris wrote:
> >
> > How does one handle case sensitivity with string searches using the LIKE
> > operator?
> > If I have something like: select * from employee where lastname LIKE "ha%"
> > But I want to get all possibilities regardless of case sensitivity - harris,
> > Harris HArris HARRIS haRRis...
> >
> > Is this possible with straight SQL against an Oracle database?
> >
> > John Harris

This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers. Received on Sun Jan 27 2002 - 05:16:47 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US