May 18, 2005 03:18 PM
Transitive Closure
Find the path to better answers
Rating:

(0)
SQL Server Magazine
InstantDoc ID #46117
Note: The solutions presented in this article require SQL Server 2005 Beta 1 or higher. They were developed and tested on a pre-release version of SQL Server 2005 Beta 2 by Lubor Kollar and Itzik Ben-Gan.
Imagine that you need to know whether one person is an ancestor of another person. A data structure called transitive closure can help. For example, Fosco Baggins is the father of Drogo, and Drogo is the father of Frodo; therefore, Fosco is an ancestor of Frodo by transitivity. Simply ...
...This article is for paid Professional Members only.
Already a Professional Member? Please log in now: