SQL Server Performance

HierarchyId And Multiple-Trees

Discussion in 'SQL Server 2008 General Developer Questions' started by DotNetP, Jun 22, 2009.

  1. DotNetP New Member

    Hi all,
    I leverage HierarchyId data type to implement tree structure in a table. Scenario: We are working on a project management system. First of all, user must define the hierarchial structure of the persons contributing to that new project(i.e defining project manager and subordinate relatioships).
    Consequently, We are going to store the hierarchial structure of different projects in one table in order to manage them and each project has its own structure and root. These tree structures are independent of each other and projects are advancing in parallel.
    What's Your Solution?
    Is it a good idea to define a main root for all projects?
    Thanks in advance.
  2. Sandy New Member

Share This Page