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



Walden H. Leverich wrote:
Not arguing that you should rely on the null value to indicate that the
employee isn't terminated, rather that you should use the null value to
indicate that you don't have a value for the terminated date. Even with
a flag to indicate the status of the employee what value do you put into
the terminated date? You can argue that the value is irrelevant since
the employee isn't terminated, but you still need a value. Hence, use
null. :-)
However, that requires that you make the field null capable and that you handle the null indicator. And while I'm not necessarily arguing against the use of NULL, I'm perfectly happy using 01-01-0001. Or 12-31-9999, for that matter. It depends on whether you have a business requirement to include current employees on lists ordered by termination date, and where.

As always, it comes down to a business decision. I just wanted to register my disagreement with the comments that not using nulls is somehow technologically backwards. That sort of "my way or the highway" mentality is better left for religious zealots - or political ones.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.