|
I wish I could. It's packaged software so my hands are tied with respect to their database. I don't think we have any records prior to 1940 but most of our database will be prior to 2000 so I have to have some way of determining the 20th century from the 21st. -----Original Message----- From: Scott Johnson [mailto:sjohnson@xxxxxxxxxxxxx] Sent: Tuesday, August 12, 2003 3:03 PM To: 'Midrange Systems Technical Discussion' Subject: RE: SQL date comparison - a better way? Get with at least the 90's and update the fields to Date Data Types. ;-) Just couldn't resist. What you have looks good for what you need to do. Do you really have dates before 1940? If not you could get rid of that part. Like somebody else suggested, you may want to look into user defined functions. Just depends how often you plan on running this statement. -- Scott
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.