Triggers have all sorts of pitfalls associated with them, but this should get you started....create table test111(col1 int null)gocreate trigger testtrig on test111 instead of insert, updateasset nocount onif exists (select * from inserted i join test111 on i.col1 = test111.col1) begin raiserror('Uh-uh-uh. You didn''t say the magic word.', 1, 1) rollback endelse begin insert into test111 select * from inserted endAlways be sure you test inserts and updates of multiple rows, before attempting a trigger. I suspect this will nto give you good results for a multi-row update.