|
Why not use the "default" date of "0001-01-01" as your zero date? Loyd -----Original Message----- From: William A.(Tony) Corbett [mailto:corbett@ASRESOURCES.COM] Sent: Thursday, August 22, 2002 8:06 AM To: MIDRANGE-L@midrange. com Subject: Allow *ZERO in a date (and timestamp) field? IBM? This is a multi-part message in MIME format. -- Hi all (and IBMers), If the "date field restrictions" could be eased up to allow only valid dates (as it is now) OR zero in a date field, this would help us a lot. I am currently having to using a packed field to store dates on the db, primarily due to this restriction. Oftentimes, I need to allow a zero in a date field, and current restrictions will not allow this. I realize this is probably implemented at the database-level, but this would seem to be a valuable modification to this "rule" and seems possible. JMO Thanks for listening. AS/Resources, Inc. William A.(Tony) Corbett IBM Certified Specialist - AS/400 Developer http://www.asresources.com corbett@asresources.com 770-587-4812 (office) 678-935-5006 (mobile) fax: 404-663-4737 -- [ winmail.dat of type application/ms-tnef deleted ] -- _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.