|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Our ERP application uses *CYMD formatted dates (integer 7). So when we select a date column using SQL, it's formatted as 1,020,802 (Aug 2, 2002). I'm surprised that IBM doesn't have built-in SQL conversions for the CYMD dates. I thought about using my earlier messages as a starting point, but I ran into problems where the cymd date is before 2000 (0991231). The SQL functions I tried dropped the leading zero, which in this case is significant since it denotes the 20th century. Has anyone come up with SQL procedures to convert a numeric CYMD to a real date, and vice versa? The archives returned no results for "cymd date sql". Thanks, Loyd -- Loyd Goodbar Programmer/analyst BorgWarner Incorporated Air/Fluid Systems, Water Valley, MS
As an Amazon Associate we earn from qualifying purchases.
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.