CREATE TRIGGER insert_table1
ON table1 FOR INSERT
AS
UPDATE table1 SET 字段1='y' from inserted where id = inserted.id