public marks

LINK

DBAzine.com: Trees in SQL: Nested Sets and Materialized Path

by ogrisel & 1 other (via)
Relational databases are universally conceived of as an advance over their predecessors network and hierarchical models. Superior in every querying respect, they turned out to be surprisingly incomplete when modeling transitive dependencies. Almost every couple of months a question about how to model a tree in the database pops up at the comp.database.theory newsgroup. In this article I'll investigate two out of four well known approaches to accomplishing this and show a connection between them. We'll discover a new method that could be considered as a "mix-in" between materialized path and nested sets.

Comments

No comment on this link yet.


PUBLIC TAGS
on this link

database   hierarchical   modeling   programming   sql   tree  

BY

ogrisel
the 15/02/2007 at 01:28

bago
the 28/11/2005 at 14:55