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 Sensitivity in Oracle for NT

Re: Case Sensitivity in Oracle for NT

From: Vijay Darekar <vijayd_at_worldnet.att.net>
Date: 1997/06/17
Message-ID: <33A77C82.45BF@worldnet.att.net>#1/1

Elliot Ross wrote:
>
> Can anyone explainn how to have Oracle sort case insensitive ?? I am
> trying to have tables (such as Customers) that sort case insensitive.
>
> If I do a select ... from .... Where C_NAME = SMITH etc.
>
> I want to get SMITH, Smith, smith, sMitTh etc and so on !!
>
> thanks !
>
> --
> My EMail address contains a # to try to
> thwart mail spamming.

Use UPPER function in the where clause that will give you all kinds of smith.

select .....
from customer
where upper(c_name) = 'SMITH' Received on Tue Jun 17 1997 - 00:00:00 CDT

Original text of this message

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