create trigger trTable1Insert
on table1
for Insert
as
update table1 set Position=dept_Name+ A.Position
from dept, Inserted A
where dept.DeptID=table1.DeptID and A.DeptID=table1.DeptID
转载于:https://www.cnblogs.com/chenyebin/archive/2010/03/19/1690196.html
最后
以上就是会撒娇花卷最近收集整理的关于触发器实现同步更新的全部内容,更多相关触发器实现同步更新内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复