My code is littered with IsNull and Nz, defenses against the Dreaded Null Value. So far I have not discovered a good use for null values. Perhaps I am missing something. Anyone out there know any beneficial uses?
Tom Budlong
TomBudlong@Bigfoot.com
There are many beneficial uses of the NULL value, especially in fields such as date fields where an event has not yet happened. The alternative to doing this would be to have somekind of default value that means nothing has happened, not always very easy, and as you can see from the code, ISNULL is a very simple way to find these values.
If you used a default value, you would then have much more complex code trying to find these values and determine if they were real values or just there to get rid of a NULL.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.