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 > Informix > Case sensitivity

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-05, 09:48
mayera21 mayera21 is offline
Registered User
 
Join Date: Feb 2005
Posts: 5
Case sensitivity

When I perform the following sql query:

select accountId as ACCOUNT_ID from account

The column name comes out as "account_id".
Is there a way to maintain the case of my column name?
Reply With Quote
  #2 (permalink)  
Old 02-09-05, 13:30
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Hi,

Normally Informix (and as far as I know all major databaes) are case insensitive in their SQL. Maybe this is an exception.
In Informix you normally can change thsi behavior by setting the DELIMIDENT variable. In that case Informix will assume all qouted strings as case sensitive.

In the past I looked at this, but decided not to use it. Nowaday's I'm sometimes using it when communication with other databases, when they expect IDS to be case sensitive.

Hope this helps,

Rob
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