ITPub博客

首页 > 数据库 > Oracle > oracle 自治事务

oracle 自治事务

原创 Oracle 作者:maojinyu 时间:2011-01-20 16:51:40 0 删除 编辑

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/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Clusterware References
下一篇: HDKZ
请登录后发表评论 登录
全部评论

注册时间:2012-05-09

  • 博文量
    178
  • 访问量
    376685