SQL Data Hierarchy

后端 未结 4 1492
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-28 10:07

I have looked through a few SQL hierarchy tutorials, but none of them made much sense for my application. Perhaps I am just not understanding them correctly. I\'m writing a

4条回答
  •  清酒与你
    2020-12-28 10:49

    I recommend you to also take a look at HierarchyId data type introduced in SQL Server 2008 which gives you a lot of capabilities for traversing and manipulating the tree structure. Here is a tutorial:

    Working With SQL Server HierarchyId Data Type In .NET Application

提交回复
热议问题