Some weeks ago Bruce Vining wrote a nice UDF in order to use Edit codes with
SQL. Check here:



Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries

On Tue, Jun 21, 2011 at 8:56 AM, <franz400@xxxxxxxxxxxx> wrote:

Sometime I run quick sql's for users and give a print key. They want the
dates (numeric 8.0) to not look like 20,110,622.
Would prefer 2011-06-22 or even 20110622.
Forget that this is a date (same problem w/ssn, etc) how to simply (in a
few seconds)apply edit codes to numbers in sql select.
Jim Franz
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.

This thread ...


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

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