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

Recursive CTE for Supervisor Hierarchy WITH Effective Date of Reporting Relationship

$
0
0
I have a standard recursive CTE for getting my current supervisory hierarchy.  I use it to rollup timesheet "utilization" information under some level of manager based on whether someone was working on a billable project.  

declare @Emp

Viewing all articles
Browse latest Browse all 3145

Trending Articles