Re: foundations of relational theory?
Date: 12 Oct 2003 04:39:05 GMT
Message-ID: <bmalt8$k7ps6$2_at_ID-125932.news.uni-berlin.de>
In the last exciting episode, dwolt_at_iserv.net (Dawn M. Wolthuis) wrote:
> Apologies for the typo -- paragraph 2 should say "Is there some ...
> that storing data that is NOT in first normal form is bad ..." --dawn
That representation is just HORRIBLE. It leaves varying numbers of NULLs lying around for families with fewer children. It BREAKS if a family has a 4th child, as you either have to forbid that, or create some sort of "continuation" record.
In XML, there's a "better way", as it is perfectly reasonable to open up a hierarchy thus:
<children>
<child><attributes/></child> <child><attributes/></child> <child><attributes/></child> <child><attributes/></child>
</children>
That's not terribly different from what Pick-like systems would do; they would happily stick the multiple children into the table with the parent, and have a treatment for having varying numbers of children.
--
wm(X,Y):-write(X),write('_at_'),write(Y). wm('aa454','freenet.carleton.ca').
http://www3.sympatico.ca/cbbrowne/multiplexor.html
"``Normal'' people don't like things to be powerful or scalable or
reusable, just pretty." -- posterkid (posterkid_at_psnw.com)
Received on Sun Oct 12 2003 - 06:39:05 CEST
