Production.uIllustration Trigger

Information

NameProduction.uIllustration
Table NameProduction.Illustration
Created14.10.2005. 1:59:52
Modified2.7.2009. 10:35:10
Disabled 
For replication 
Instead of trigger 
Activates onUPDATE

SQL Script

CREATE TRIGGER [Production].[uIllustration] ON [Production].[Illustration] 
AFTER UPDATE NOT FOR REPLICATION AS 
BEGIN
    SET NOCOUNT ON;

    UPDATE [Production].[Illustration]
    SET [Production].[Illustration].[ModifiedDate] = GETDATE()
    FROM inserted
    WHERE inserted.[IllustrationID] = [Production].[Illustration].[IllustrationID];
END;