|
Bill, you will still need to convert something - either the packed
column that holds the date (DO NOT do that - see other posts about
functions applied to columns that force full table scans) or the
expression using CURRENT DATE - you want to convert that to the
CYYMMDD format.
Since you don't have the TIMESTAMP_FORMAT function, and you DO have
the REPLACE function, you can use the following to get the CYYMMDD
form in a number of your date expression -
dec('1'||substr(replace(char(current date,iso),'-',''), 3, 6))
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.