Hi to All!
Is there a perfect method to implement a hierarchy structure with different types as a table in Sql server 2005 Currently I am thinking of this way:
[Node | ParentId | ParentType | ChildId | ChildType]
But there is this nagging little voice saying it can be better ![]()
Cheers!
Nele

Hierarchy
themicks
--
Adam Machanic
Pro SQL Server 2005, available now
http://www..apress.com/book/bookDisplay.html bID=457
--
Darren Dmello
--
Adam Machanic
Pro SQL Server 2005, available now
http://www..apress.com/book/bookDisplay.html bID=457
--
omerkaan
[same author as Eburon]
It is indeed a natural hierarchy. I assume that the type hierarchy cannot change, but a type can be absent. More in detail there are three types, t1, t2, t3:
Is that sufficient additional information
-- sam --