oracle触发器~ 更新多表的问题
在更新某表的记录时,同时去更新另一个表~
两个表的字段都是一样的~ 触发器怎么写?
我的老提示错:检测到活动的自治事物处理,已经退回
是什么意思啊~~~~ 哪个大哥帮忙看看~谢谢
create or replace trigger t_edu_kw_cj_update_trg
after update on t_edu_kw_cj for each row
declare
PRAGMA AUTONOMOUS_TRANSACTION;
begin
update t_edu_kw_hiscj set
ksrq=:new.ksrqwhere xh=:new.xh
end t_edu_kw_cj_update_trg;