After a little more testing it appears that if there is a "Heading Line 1" defined for a column that heading gets returned instead of the actual field name in all cases.

Does the field you mention have a heading line 1 label on it ?

Richard Schoen
Email: richard@xxxxxxxxxxxxxxxxx


message: 2
date: Wed, 3 Nov 2021 19:04:36 +0000
from: Rob Berendt <rob@xxxxxxxxx>
subject: RE: Question on Long Column Names Returned from SQL Query. I
Want Short Column Names

Yeah, that works
select C000000001 from t00000001;
displays the heading as C000000001 instead of the long name. At least in Run SQL Scripts.

Rob Berendt
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.