HumanResources.uEmployee Trigger
Information
| Name | HumanResources.uEmployee |
| Table Name | HumanResources.Employee |
| Created | 14.10.2005 1:59:52 |
| Modified | 14.10.2005 1:59:52 |
| Disabled |   |
| For replication |   |
| Instead of trigger |   |
| Activates on | UPDATE |
SQL Script
CREATE TRIGGER [HumanResources].[uEmployee] ON [HumanResources].[Employee]
AFTER UPDATE NOT FOR REPLICATION AS
BEGIN
SET NOCOUNT ON;
UPDATE [HumanResources].[Employee]
SET [HumanResources].[Employee].[ModifiedDate] = GETDATE()
FROM inserted
WHERE inserted.[EmployeeID] = [HumanResources].[Employee].[EmployeeID];
END;