SQL Feeds - All your SQL feeds in one place.

Thursday, August 27, 2009

Using HierarchyID in SQL Server

by kevincox via Microsoft SQL Server Development Customer Advisory Team on 8/27/2009 5:48:00 PM

Implementing a hierarchy structure in a relational data base normally takes a bit of work.  The new SQL Server data type for hierarchyID gives a good shortcut to the old methods, makes it faster to get a solution in place and makes it much easier to maintain. MSDN has a good tutorial on HierarchyID showing the old method using a relational table design, followed by another design using the new HierarchyID.  This article shows a good tip of how to easily get all descendents of a parent ...

[ read more ]

Legal Note

The content of the postings is owned by the respective author. SQL Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on SQL Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us