| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Heirarchical Data Structures. MS Access. Together?
Lennart Jonsson wrote:
> "Jace Harker" <jharker_at_marlboro.edu> wrote in message news:<vhuhvgjqr27d83_at_corp.supernews.com>...
>
>>"--CELKO--" <71062.1056_at_compuserve.com> wrote in message >>news:c0d87ec0.0307220645.2ccab82f_at_posting.google.com...
>>Very nice! Once I saw what you were getting at, the strategy made perfect >>sense to me. It certainly adds efficiency in several nifty ways, especially >>in finding removed parents of children. >>
In the "pure" nested set, any parent has (right - left - 1) / 2 = number
of children.
Therefore it's easy to find out whether there are any children.
Regards,
Heinz
Received on Mon Jul 28 2003 - 09:04:18 CDT
![]() |
![]() |