| AdventureWorks Database > HumanResources Schema : HumanResources.uspUpdateEmployeePersonalInfo Stored Procedure |
| Creation Date | 08/01/2010 08:41 |
| Encrypted | ![]() |
| Ansi Nulls | ![]() |
| Parameter | Direction | Description | Data Type | Size |
|---|---|---|---|---|
| @EmployeeID | In | Input parameter for the stored procedure uspUpdateEmployeePersonalInfo. Enter a valid EmployeeID from the HumanResources.Employee table. | int | 4 |
| @NationalIDNumber | In | Input parameter for the stored procedure uspUpdateEmployeeHireInfo. Enter a national ID for the employee. | nvarchar | 15 |
| @BirthDate | In | Input parameter for the stored procedure uspUpdateEmployeeHireInfo. Enter a birth date for the employee. | datetime | 4 |
| @MaritalStatus | In | Input parameter for the stored procedure uspUpdateEmployeeHireInfo. Enter a marital status for the employee. | nchar | 1 |
| @Gender | In | Input parameter for the stored procedure uspUpdateEmployeeHireInfo. Enter a gender for the employee. | nchar | 1 |
| @RETURN_VALUE | Return Value | int | 4 |
| Database Object | Object Type | Description | Dep Level | |
|---|---|---|---|---|
![]() | Person.Contact | Table | Names of each employee, customer contact, and vendor contact. | 2 |
![]() | HumanResources.Employee | Table | Employee information such as salary, department, and title. | 1 |
![]() | dbo.ErrorLog | Table | Audit table tracking errors in the the AdventureWorks database that are caught by the CATCH block of a TRY...CATCH construct. Data is inserted by stored procedure dbo.uspLogError when it is executed from inside the CATCH block of a TRY...CATCH construct. | 2 |
![]() | dbo.Flag | User Defined Data Type | 2 | |
![]() | dbo.Name | User Defined Data Type | 3 | |
![]() | dbo.NameStyle | User Defined Data Type | 3 | |
![]() | dbo.Phone | User Defined Data Type | 3 | |
![]() | dbo.uspLogError | Stored Procedure | Logs error information in the ErrorLog table about the error that caused execution to jump to the CATCH block of a TRY...CATCH construct. Should be executed from within the scope of a CATCH block otherwise it will return without inserting error information. | 1 |
![]() | dbo.uspPrintError | Stored Procedure | Prints error information about the error that caused execution to jump to the CATCH block of a TRY...CATCH construct. Should be executed from within the scope of a CATCH block otherwise it will return without printing any error information. | 2 |
|