更新触发器

1 create trigger 触发器名称
2 on 表名(将触发器创建到那张表中)
3 for update
4 as
5 if update(判断更新字段)
6 begin
7 update (要更新的表名) set 字段=inserted.字段 from 要更新的表名 ,inserted 
8 end
原文地址:https://www.cnblogs.com/zhipeng007/p/10582757.html