× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.