What is the use of NULL/NOT NULL in DB2?
Posted: Sun May 09, 2010 12:25 am
What is the use of NULL/NOT NULL in DB2? Why do we use it?
Mainframe Technical Support Forums
https://www.ibmmainframeforum.com/
Opinions vary. . . But i do agree, that there are more lazy programmers than ever beforeNULL will only cause problems with programmers who are to lazy to learn how to use it.
Again, an opinion not a fact. . . However; if a simple solution provides perfect results, why not use the simple solution. . .Systems that don't allow nulls are very simple ; violate some very basic R.I. rules or have a kind of default row for owner entities :
I've only implemented these kinds of "rules" a few thousand times and never needed to use NULL to accomplish it. . . Indeed, we did this quite nicely for many years before there was a NULL . . .like you can't hire someone until you know in which department he works, what office he's in or
dick scherrer wrote:we did this quite nicely for many years before there was a NULL . . .