× 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.



Now, I know that many of the export tools (CSV export) allow for something like COLHDG(*SQLLABLE), which uses the "Column Heading" label text. Perhaps he only needs to add field labels...

LABEL ON COLUMN MYFILE
(VXACUST IS 'Customer Number',
VXAORDER IS 'Order Number',
VXAORDTYP IS 'Order Type',
... );

-Eric DeLong

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Tuesday, February 26, 2013 11:40 AM
To: Midrange Systems Technical Discussion
Subject: Re: Lowercase field names in SQL views

it's the nature of SQL...

You'd have to create the table with the field names in quotes to make them
lowercase

create table mytable ("myfield" CHAR (10 ))

but note that you'll always have to use the quotes to reference it

select myfield from mytable
Column MYFIELD not in specified tables.

select "myfield" from mytable
SELECT statement run complete.
....+....1
"myfield"
******** End of data ********



HTH,
Charles



On Tue, Feb 26, 2013 at 12:26 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

We've had a request, in connection with BIRT reports on our Wintouch
product, to have lowercase field names in our SQL views (my
understanding is that the tools provide some sort of menu of field
names, when generating SQL)

I spent about half an hour going through the source for our SQL view
generator, attempting to implement exactly that, and then, when I just
ran a test on the result, while the SQL source members did indeed have
all lowercase field names, when I then looked at the file from Squirrel
SQL, the field names still came up all-uppercase.

Is that just the nature of DB2/400?

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.