|
Not arguing that you should rely on the null value to indicate that theHowever, 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.
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. :-)
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.