create trigger 触发器名称
on 表名(将触发器创建到那张表中)
for update
as
if update(判断更新字段)
begin
update (要更新的表名) set 字段=inserted.字段 from 要更新的表名 ,inserted
end
create trigger 触发器名称
on 表名(将触发器创建到那张表中)
for update
as
if update(判断更新字段)
begin
update (要更新的表名) set 字段=inserted.字段 from 要更新的表名 ,inserted
end
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。