Assumed your date is defined as 8,0 in the format YYYMMDD, you may try the

Char(Date(Digits(NumDate) concat '000000'), ISO)

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von
Gesendet: Tuesday, 21. June 2011 15:27
An: midrange-l@xxxxxxxxxxxx
Betreff: sql in strsql and something like editc or editw

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


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

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