如何更改trigger 的debuginfo今天在数据库里查到有些trigger的debuginfo是true
请问,如何把这些trigger的debug改为false?

解决方案 »

  1.   

    dba登陆select * from all_probe_objects
    就可以看到debuginfo
      

  2.   

    -- 看 Tom 回答人家的:
    You Asked
    Hi,What is this view - all_probe_objects and its significance ?thanks
    Apraim
    and we said...
    it is used internally as part of PLSQL debugging.Metalink note Article-ID:      Note 231349.1describes this more fully, it is basically useful to see if a procedure was compiled debug or not.beyond that, it does not do anything. It is not installed by default, the dba would need to install it. 
      

  3.   

    -- 只能这样修改:
    sys@TBWORA> select OWNER, OBJECT_NAME, debuginfo from  all_probe_objects where object_type='TRIGGER' and OWNER='SCOTT';OWNER                          OBJECT_NAME                    DE
    ------------------------------ ------------------------------ --
    SCOTT                          T_TRIG_AUTOINC                 Fsys@TBWORA> ALTER TRIGGER SCOTT.t_trig_autoinc COMPILE DEBUG;触发器已更改sys@TBWORA> select OWNER, OBJECT_NAME, debuginfo from  all_probe_objects where object_type='TRIGGER' and OWNER='SCOTT';OWNER                          OBJECT_NAME                    DE
    ------------------------------ ------------------------------ --
    SCOTT                          T_TRIG_AUTOINC                 T
      

  4.   

    -- 详情请参考:
    http://space.itpub.net/13129975/viewspace-626245