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

Selecting a VP from an organizational hierarchy

$
0
0
Hello SQL Gurus!
I currently have a CTE that if I plug in the VP, it will show all the employees that roll up to that VP. I need to figure out how to do the opposite and return a VP (Vice president), that an employee rolls up to.

Using the s

Viewing all articles
Browse latest Browse all 3145

Trending Articles