首页 > 数据库 > Oracle > oracle 自治事务
create or replace trigger test_tri
before update on test for each row
declare PRAGMA AUTONOMOUS_TRANSACTION;
begin
insert into test values(2,'test2');
commit;
end test_tri;
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9907339/viewspace-1044937/ ,如需转载,请注明出处,否则将追究法律责任。