Welcome to AspAdvice Sign in | Join | Help

Dealing with hierarchies in SQL Server?

I know, this stuff is rather old, however it has been very useful for me so I thought to point it out.

In case self-joining tables are everyday life for you and you need to have a way to query them reasonably, check these out.

Expanding Hierarchies [MS] for background
http://msdn.microsoft.com/library/en-us/acdata/ac_8_qd_14_5yk3.asp

And the true winner,

Expanding Hierarchies [WindowsITPro]
http://www.windowsitpro.com/SQLServer/Article/ArticleID/15715/15715.html

I use a solution very similar to the one pointed in the latter article.

Published Thursday, May 19, 2005 6:24 PM by joteke
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Simple SQL stuff: Hierarchies in SQL Server

One of my favorite subjects, hierarchical data :-)
I thought to blog that I posted a while ago on...
Thursday, October 20, 2005 2:08 PM by Joteke's Blog

Leave a Comment

(required) 
required 
(required) 
Enter the code you see below