SQL Server modify_timestamp Триггер
CREATE TRIGGER dbo.updateDate
ON dbo.test
AFTER INSERT, UPDATE
AS UPDATE test SET test = CURRENT_TIMESTAMP
FROM test t
INNER JOIN inserted i
ON t.ID = i.ID
GO
2Bowls