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 -> Re: Case insensitive when using LIKE in SQL statement

Re: Case insensitive when using LIKE in SQL statement

From: Steve Gioberti <giobertis_at_olddipesh.agw.bt.co.uk>
Date: Fri, 7 Aug 1998 19:33:23 +0100
Message-ID: <6qfhm4$43s$1@pheidippides.axion.bt.co.uk>


How about:
SELECT * FROM emp WHERE upper(name) like 'TOM%' Or
SELECT * FROM emp WHERE upper(name) like upper('tom%')

Joel Bergeron wrote in message <6qf1d9$cc6$1_at_news.quebectel.com>...
>Is it possible with Oracle 7.3 to query de database without using UPPER or
>LOWER in a query like this :
>
>SELECT * FROM emp WHERE name like 'tom%';
>
>I would like to retreive all record contening :
>tom, TOM, tOm,... in my result.
>
>How it can be possible?
>
>
Received on Fri Aug 07 1998 - 13:33:23 CDT

Original text of this message

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