Click here to Skip to main content
15,884,913 members
Articles / Database Development / SQL Server / SQL Server 2008R2

SQL Queries to Manage Hierarchical or Parent-child Relational Rows in SQL Server

Rate me:
Please Sign up or sign in to vote.
4.86/5 (49 votes)
15 Sep 2014CPOL3 min read 506.9K   2.2K   64  
Some queries to find generation of each row, all possible children, all possible parents, managing recursion

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions