Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Recursive CTE - displaying all ancestors in result set

$
0
0
I am writing a recursive cte that shows the relationships of containers that are nested inside each other (like a BOM relationship) and displays them in order so that containers nested inside a parent container are listed under the parent container record

Viewing all articles
Browse latest Browse all 3145

Trending Articles