Re: Date, Darwen, Pascal and the alternative to Nulls in the RM
Date: 22 Mar 2006 20:33:57 -0800
Message-ID: <1143088437.488504.19900_at_j33g2000cwa.googlegroups.com>
mountain man wrote:
> The only way to avoid nulls is to avoid change management.
> That's it really. End of story. Change management will eventually
> breed the occurrence of nulls.
In the relational model I agree. In fact I am more and more of the opinion that a null-less RM is implausible. If you can't handle dealing with the jarring nature of nulls, then you don't want RM.
There appears to my my mind a simple reason for this: you can eradicate nulls to your heart's content, decomposing one table after another and normalising-a-sweet-fandango . But at some point, someones going to ask a question of the database and its going to have to JOIN those tables, and back will pop those nulls. A query language has transitive closure over relations but, by its very design, these db-relations just have to be capable of having gaping holes in them.