Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> REPOST: Re: Dealing with case sensitivity
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