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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Upper Case retrieval of Data - Possible ?

RE: Upper Case retrieval of Data - Possible ?

From: Mark W. Farnham <mwf_at_rsiz.com>
Date: Tue, 27 Jun 2006 06:56:27 -0400
Message-ID: <KNEIIDHFLNJDHOOCFCDKAEGGIEAA.mwf@rsiz.com>


If you want all upper without modifying the existing queries, you create a view. Of course the real table will need to be renamed first if you really want to avoid modifying the code at all (so that the current name in the query is available as the name for the view.)

What part of SQL*Server destroys the uppercase-lowercase distinction? In case I ever have to use that database I want to know. That may be even more information content destructive than confusing the zero length string with a NULL value.

Regards,

mwf

-----Original Message-----

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of VIVEK_SHARMA
Sent: Tuesday, June 27, 2006 5:58 AM
To: oracle-l_at_freelists.org
Subject: Upper Case retrieval of Data - Possible ?

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

--

http://www.freelists.org/webpage/oracle-l Received on Tue Jun 27 2006 - 05:56:27 CDT

Original text of this message

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