HumanResources.uEmployee Trigger

Information

NameHumanResources.uEmployee
Table NameHumanResources.Employee
Created14.10.2005 1:59:52
Modified14.10.2005 1:59:52
Disabled 
For replication 
Instead of trigger 
Activates onUPDATE

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;