RE: case sensitivity - database setting?

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <cemail_219@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 8 Aug 2005 10:01:58 -0700

You can set NLS_SORT=Latin:

SQL>alter session set nls_sort=binary;  < --- The default

SQL>select * from mytab order by 1;

COL1
----------
A
AAA
BBB
CCC
aaa
bbb
ccc

7 rows selected.

SQL>alter session set nls_sort=Latin;

Session altered.

SQL>select * from mytab order by 1;

COL1
----------
A
AAA
aaa
BBB
bbb
CCC
ccc

7 rows selected.

Regards,
Brandon


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of J. Dex
Sent: Monday, August 08, 2005 9:41 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: case sensitivity - database setting?


We are setting up an application (third-party out-of the-box type) and the 
group that is setting it up would like to set it up so that when users 
search for records the searches are NOT case sensitive.
Is there an Oracle database setting that would facilitate this?  The 
application vendor said it is a database issue and has to be set on the 
database side.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

--
//www.freelists.org/webpage/oracle-l

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

--
//www.freelists.org/webpage/oracle-l

Other related posts: