服务器中的一个触发器问题求教
1楼: CREATE TRIGGER insert_detail ON detail
FOR INSERT
AS
update detail
set meas=long*wideth*height
where no=inserted.no
检查语法的时候老是提示说inserted 不是一个表名 为什么?我的版本是7。0(sql server) 字串8 2楼: 请大家帮忙啊 字串2 3楼: set 后面加上一句
from inserted吧:)呵呵!
字串7
4楼: update detail
set meas=long*wideth*height
where no = (select no from inserted) 字串2
5楼: catcatdogdog 我想知道 为什么我的是错误的 能给我详细的解释吗》谢谢你 xiaoshou 也谢谢你 你的好象行不通 你自己也试试吧 字串8 6楼: 我的qq是93666219 希望能和大家多交流 字串2