/ Published in: SQL

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
CREATE TRIGGER [RobTestTrigger] ON [dbo].[RobTestTable] FOR UPDATE AS UPDATE t SET t.Version = t.Version + 1 FROM RobTestTable t JOIN inserted i ON i.Id = t.ID
Comments
