How to find ALL descendants using HierarchyID for SQL Server

Posted by Luke101 on Stack Overflow See other posts from Stack Overflow or by Luke101
Published on 2010-04-17T19:35:38Z Indexed on 2010/04/17 19:43 UTC
Read the original article Hit count: 485

Filed under:
|
|

I need to find all descendants of a category using HierarchyID for SQL Server. I know how to find direct childs but I would like to find childs of childs of child..etc. Is there a way to do this using the hierarchyID.

© Stack Overflow or respective owner

Related posts about hierarchyid

Related posts about sql-server-2008