视图中的instead of 触发器问题 在视图(包含了多个表)中定义了一个instead of 触发器,想在更新(Update)视图某个字段的时候,把结果反应到它所在的表中,请问怎么实现? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 给你个T-MAC的帖子看看http://topic.csdn.net/u/20091203/20/ef22e48d-4560-437e-9500-6efa4044284d.html create trigger my_trig on tb for updateasbegin update tb2 set .... from tb2 , inserted t where tb2.关键字 = t.关键字end instead of触发器是不需要事物回滚的 不知道楼主的把结果反应到它所在的表中是什么意思? 求教:怎样升级SQL Server 2008 到SP2 Cannot resolve collation conflict for equal to operation. 符号问题,Help!!! mysql问题! 关于SQL中 * 和指定字段在效率方面的小问题 谁能帮小弟找点中英文的资料?(高分) 救命,有关MSSQL的问题..大家HELP 怎样设定在服务器上一个表,, 在同一时间只能有一个用户在使用? 用sql语句实现月排名和累计排名在一张表中显示? 小弟我问一个非常简单的问题 怎么得到字段为任何值的数据集? 请问如何动态增加生成临时表的字段?
http://topic.csdn.net/u/20091203/20/ef22e48d-4560-437e-9500-6efa4044284d.html
create trigger my_trig on tb for update
as
begin
update tb2 set .... from tb2 , inserted t where tb2.关键字 = t.关键字
end