Re: Recursive Queries?
- From: --CELKO-- <jcelko212@xxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 10:28:57 -0700 (PDT)
And your solution to this? <<
One of the hierarchical designs given in TREES & HIERARCHIES IN SQL
(ISBN: 978-1-55860-920-4). I happen to like the nested sets model
because it ports and gives very easy hierarchical aggregations (BOM,
accounting reports, etc as opposed to path searches).
You might also want to look at http://www.dbazine.com/ofinterest/oi-articles/celko35/view?searchterm=Celko
The article gives a declarative way to enforce Transition Constraints,
which might help if your process steps have to come in some order
("bake the beard before you slice it", etc.)
.
- References:
- Recursive Queries?
- From: Iain Sharp
- Re: Recursive Queries?
- From: --CELKO--
- Re: Recursive Queries?
- From: Iain Sharp
- Re: Recursive Queries?
- From: --CELKO--
- Re: Recursive Queries?
- From: Iain Sharp
- Recursive Queries?
- Prev by Date: Re: testing if value is null
- Next by Date: difference between explicit inner join and implicit
- Previous by thread: Re: Recursive Queries?
- Next by thread: SQL Server 2005 disk layout - opinions?
- Index(es):
Relevant Pages
|