1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14:
create trigger [dbo].t_mytrigger on [dbo].[mytable] for INSERT, UPDATE, DELETE AS -- begin pseudo code IF INSERT THEN DO ONE THING IF UPDATE THEN DO OTHER THINGS IF DELETE THEN DO YET ANOTHER THING