Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Case Sensitivity in Oracle

Status
Not open for further replies.

jbayly

MIS
Joined
Oct 6, 2004
Messages
3
Location
US
Is it at all possible to turn off the case sensitivity in Oracle, so any querys are not reliant on the case.
 
You can use UPPER or LOWER in your queries, but beware the performance may be affected.
 
This is what i have been doing so far, however i need to account for this in all of my Business Objects User Prompts and its is come somewhat laborious.

Is there any way of stipulating this at the database level, without holding all data in the database as either upper or lower case?

Many thanks
 
Hi, jbayly

I believe because Oracle is multi-platform that this is not possible as UNIX will distinguish data that is uppercase and lowercase. For example:

LAST_NAME FIRST_NAME DOB
--------- ---------- -----------
SMITH JOHN 01-JAN-1950
smith john 01-JAN-1950

Even if you set the primary key to the above three columns, I believe that UNIX would count them as two different records whereas Windows would not allow the secind row to be saved.

Regards,

William Chadbourne
Oracle DBA
 
J,

The direct answer to your question ("Is there any way of stipulating this at the database level, without holding all data in the database as either upper or lower case?"), the answer is 'No'. As Lewis mentions, we typically use either UPPER() or LOWER()...a possible hassle, yes...but preferrable over the database re-creation hassles if you change your sort preferences.[wink]


[santa]Mufasa
(aka Dave of Sandy, Utah, USA)

Do you use Oracle and live or work in Utah, USA?
Then click here to join Utah Oracle Users Group on Tek-Tips.
 
David (DBToo),

I read through the link, and besides the focus there being on DB2 (no pun intended), I cannot see how that link helps J. Did I miss something important?

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)

Do you use Oracle and live or work in Utah, USA?
Then click here to join Utah Oracle Users Group on Tek-Tips.
 
I offered up the link because jbayly may not be aware of that resource (they didn't mention posting at any other sites.) The link is to rather old information, and there may be new information that could be obtained through Business Objects resources. The question posted here, can Oracle force case?, has been thoroughly answered by you, william and lewis.

Thought I would just throw in the possibility that someone in the BO community may help with a better BO solution.

jbayly, there is a business objects forum at this site, too. I didn't see any solutions posted there.

Business Objects should have a solution by, since this is a common problem which has existed since the time they were founded.

So, dave, I don't think you missed anything. [peace]
 
Thanks for all your help, it seems I will have to keep going with changing my objects.

Although I did find a handy update tool on the BO forum.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top