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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle case in sensitive

Re: Oracle case in sensitive

From: Dennis <dwehlman_at_my-deja.com>
Date: Mon, 11 Dec 2000 07:19:59 GMT
Message-ID: <911v6t$n85$1@nnrp1.deja.com>

To fetch all like 'Scott', 'SCOTT', 'scoTT' you can use upper or lower function to convert your values.

select * from emp where upper(ename) = upper('SCOTT');

The query fetchs all Scotts from emp (but there is only one Scotty :-(

Dennis

In article <911t35$m0t$1_at_nnrp1.deja.com>,   sundarkumar_at_my-deja.com wrote:
> Hi Everyone
>
> I want to make oracle case insensitive meaning, if I fire a sql query
> like
>
> Ex : select * from customers where some_value=some_case_sensitive;
>
> So this query will pick up only the matched some_case_sensitive
 value. I
> don't want it to be checked for case sensitives.
>
> Ex "junk"="JUNK" - this data not get returned if I fire the above sql
> becoz by default sql will pickup the exact match value. I don't want
> this should not be checked. If I looking for junk, it
> should take all junk case in sensitive values and return it to me.
>
> I am sure there is some parameter to set and achieve this. Pls help me
> out in this issues...
>
> Thanx in Advance...
>
> Sundar
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Dec 11 2000 - 01:19:59 CST

Original text of this message

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