Production.uIllustration Trigger

Information

NameProduction.uIllustration
Table NameProduction.Illustration
Created14.10.2005 1:59:52
Modified14.10.2005 1:59:52
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;