Stored procedure using a recursive query to return the direct and indirect managers of the specified employee.
Creation Date | 27/10/2017 14:33 |
Encrypted | |
Ansi Nulls |
Parameter | Direction | Description | Data Type | Size |
---|---|---|---|---|
@BusinessEntityID | In | Input parameter for the stored procedure uspGetEmployeeManagers. Enter a valid BusinessEntityID 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 |
|