Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle l »

Re: Upper Case retrieval of Data - Possible ?

Ghassan Salem

2006-06-27

Replies:

hi,
look into the nls_sort setting for your session/db.
I'm not sure you can do what you want in 9.2, you may need to go to 10gr2 for that.

I'm talking here about case-insensitive comparisons, the data you retrieve ( i.e. what the SQL returns will always be what you have in the DB, it will not automatically UPPER or LOWER your char data.

rgds

On 6/27/06, VIVEK_SHARMA <VIVEK_SHARMA@infosys.com> wrote:

As part of porting an Application from SQL*Server to Oracle, when using SQL/PLSQL etc we need to retrieve Data in UPPER Case "Database-wide"  

irrespective of Case of storage of data within the field of Table/Index.

 

Wish to Avoid specifying UPPER Clause in the where Query.

 

NOTE – Data may be stored in Upper or Lower Case in Different fields of the Table.

 

NOTE – In the Previous T-SQL Code on SQL*Server the UPPER Clause was NOT needed.

 

Is it possible?

 

Target Oracle ver = 9.2

 

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.