Stored procedure using a recursive query to return the direct and indirect employees of the specified manager.
Creation Date | 27/10/2017 14:33 |
Encrypted | ![]() |
Ansi Nulls | ![]() |
Parameter | Direction | Description | Data Type | Size |
---|---|---|---|---|
@BusinessEntityID | In | Input parameter for the stored procedure uspGetManagerEmployees. Enter a valid BusinessEntityID of the manager from the HumanResources.Employee table. | Integer | 4 |
@RETURN_VALUE | Return Value | Integer | 4 |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
![]() | Person.BusinessEntity | Table | Source of the ID that connects vendors, customers, and employees with address and contact information. | 2 |
![]() | HumanResources.Employee | Table | Employee information such as salary, department, and title. | 1 |
![]() | dbo.Flag | User Defined Data Type | 2 | |
![]() | dbo.Name | User Defined Data Type | 2 | |
![]() | dbo.NameStyle | User Defined Data Type | 2 | |
![]() | Person.Person | Table | Human beings involved with AdventureWorks: employees, customer contacts, and vendor contacts. | 1 |
|