Difference between revisions of "HumanResources.uspUpdateEmployeePersonalInfo (procedure)"
Line 40: | Line 40: | ||
| HumanResources.uspUpdateEmployeePersonalInfo | | HumanResources.uspUpdateEmployeePersonalInfo | ||
|- valign="top" | |- valign="top" | ||
− | |||
| '''Description | | '''Description | ||
| Updates the Employee table with the values specified in the input parameters for the given EmployeeID. | | Updates the Employee table with the values specified in the input parameters for the given EmployeeID. | ||
|- | |- | ||
− | |||
|} | |} | ||
Revision as of 07:01, 30 November 2009
wikibot
procedure | HumanResources.uspUpdateEmployeePersonalInfo |
CREATE PROCEDURE [HumanResources].[uspUpdateEmployeePersonalInfo] @EmployeeID [int], @NationalIDNumber [nvarchar](15), @BirthDate [datetime], @MaritalStatus [nchar](1), @Gender [nchar](1) WITH EXECUTE AS CALLER AS BEGIN SET NOCOUNT ON; BEGIN TRY UPDATE [HumanResources].[Employee] SET [NationalIDNumber] = @NationalIDNumber ,[BirthDate] = @BirthDate ,[MaritalStatus] = @MaritalStatus ,[Gender] = @Gender WHERE [EmployeeID] = @EmployeeID; END TRY BEGIN CATCH EXECUTE [dbo].[uspLogError]; END CATCH; END;
automatically generated
procedure | HumanResources.uspUpdateEmployeePersonalInfo |
Description | Updates the Employee table with the values specified in the input parameters for the given EmployeeID. |
CREATE PROCEDURE [HumanResources].[uspUpdateEmployeePersonalInfo] @EmployeeID [int], @NationalIDNumber [nvarchar](15), @BirthDate [datetime], @MaritalStatus [nchar](1), @Gender [nchar](1) WITH EXECUTE AS CALLER AS BEGIN SET NOCOUNT ON; BEGIN TRY UPDATE [HumanResources].[Employee] SET [NationalIDNumber] = @NationalIDNumber ,[BirthDate] = @BirthDate ,[MaritalStatus] = @MaritalStatus ,[Gender] = @Gender WHERE [EmployeeID] = @EmployeeID; END TRY BEGIN CATCH EXECUTE [dbo].[uspLogError]; END CATCH; END;
Dependency Type | Object Type | Referenced Object |
Update | Table | HumanResources.Employee |
Execute | Procedure | dbo.uspLogError |
Schema | Schema | HumanResources |