Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Recursive SQL statements

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-12-15 : 15:22:45
Imad writes "suppose I have the following table:
Employees:
EmpID;
SupervisorID;

Suppose I want to retrieve all EmpID who have a certain supervisorID x (those who are directly supervised by x,those that are supervised by other employees who are supervised x,etc...)

How can this be done on SQL 7"
   

- Advertisement -