× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thank you Charles.

I am sure that this information is hidden in the cryptic documentation I have been reading from IBM.

On 12/23/2015 07:33 AM, Charles Wilt wrote:
If you want case sensitive columns names, then when creating teh table they
have to be quoted

create table mytbl (
"MyColumn" char(25)
);

select mycolumn from mytbl;
Column or global variable MYCOLUMN not found.

select "MyColumn" from mytbl;
SELECT statement run complete.

Oracle works the same way. Not surprising; given that this follows the SQL
standards...
http://www.alberton.info/dbms_identifiers_and_case_sensitivity.html


Charles

On Tue, Dec 22, 2015 at 11:52 PM, Rob <rob.couch@xxxxxxxxxxxxxx> wrote:

My script creates the tables using Upper And Lower Case letters.

I can run sql queries using any case.

Why can the all powerful DB2 not return the field names as I created them
in the result set?

All Caps is for dead head screamers. This is a new age of computing... we
have a SHIFT key!

Took me a few minutes to figure out why I was not getting any data out of
a specific field. I used fetch_assoc and $aRow[ 'Name' ] rather than
$aRow[ 'NAME' ] .

I thought that 'i5_naming' => DB2_I5_NAMING_OFF was supposed to turn that
off.

This is probably just a rant with no solution.

--
Your Out-Source IT Department,
Rob Couch
IT Serenity
214 682 7638
Skype: itserenity

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.