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 Sensitivity

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-09, 13:38
Breako Breako is offline
Registered User
 
Join Date: Jan 2006
Posts: 119
Case Sensitivity

Hi,
1. Is DB2 case sensitive or insensitive by default?
2. Obviously, I can check this my running a few simple queries, but I was just wondering is there a Session property that I can check?
Thanks.
Reply With Quote
  #2 (permalink)  
Old 03-09-09, 14:58
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
The data is case sensitive. The DLL object names are converted to Upper Case unless you put quotes around the object name in lower case, in which case (no pun intended) you will probably be lynched by a mob of angry DBA's or developers.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 03-10-09, 04:56
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
SQL is case sensitive for string values and comparing them. DB2 follows the SQL standard in this respect. Identifiers for schema, table, or columns names (aka object names) are not string values, though.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

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