|
RE: use of date type fields >We're embarking on some database design issues and I wanted to know how >others felt about the use of date type fields versus just numeric type >fields (format would be CCYYMMDD). > >What overhead (if any) would there be to convert numeric fields to date >type fields to do certain date interval calculations? > >Any suggestions would be GREATLY appreciated. >Dan Dan We have been doing all new systems(for the last 3 years) using L date data types(and Time and Timestamp data types). And we are converting all older systems to date data types for the Y2K project (almost done). We have seen NO DISCERNIBLE performance issues. However our users LOVE being able to do date math in their Queries(Query/400) and we love being able to use it in OPNQRYF and natively in RPGIV. No Fuss, No Muss, No Program Gymnastics. Pure and Simple. (I also believe someone said that IBM will/has almost eliminate any performance issues with the Date data type - Neil P. was that you??) John Carr EdgeTech P.S. Ironically I wrote this first and hit the "Send Later" button so I could continue reading and then I read this; I'll sit back now and let John Carr fill you in on his practical experiences in this area. You're right Jon, here it is. Don't have a heart attack when you read my next one. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.