If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > case in sensitivity

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-02-07, 01:07
sunsanvin sunsanvin is offline
Registered User
 
Join Date: Nov 2006
Posts: 13
case in sensitivity

Dear Experts,

I've been working with a product development cmpany, and we are making our product to support all the main databases. we finished for sql server, oracle. presently we started with DB2. I dont know how to start with this. I even dont know how to find the version of this db2. I'm starting with a,b,c,d......

friends, please help me how can i make my database case-in-sensitive? I've the following link, but with that I can not make my database collation case in sensitive. so please help me in this regard.
We dont know whether the client inserts data in which case. but while we selecting, all these should be concidered.

age=Age=AGe=AGE=aGE...................like that.

we need to reuse the output in other queries..............please guide me

http://www-128.ibm.com/developerwork...3adamache.html
  #2 (permalink)  
Old 04-02-07, 04:34
Wim Wim is offline
Registered User
 
Join Date: Nov 2004
Posts: 1,279
Code:
SELECT *
FROM mytable
WHERE UCASE(field1) = UCASE('age');
__________________
With kind regards . . . . . SQL Server 2000/2005/2008/2008 R2 Earned beers: 16
Wim
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald Knuth
Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages
  #3 (permalink)  
Old 04-02-07, 04:57
vini_srcna vini_srcna is offline
Registered User
 
Join Date: May 2006
Posts: 82
This thread is duplicated. The same issue was presented few days later, by the same user and it is @
how to make DB2 as case in sensitive?
__________________
Vinay,
  #4 (permalink)  
Old 04-02-07, 06:15
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Thread locked. Responses to
how to make DB2 as case in sensitive? please
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On