如何更改trigger 的debuginfo
时间:2011-09-15
来源:互联网
今天在数据库里查到有些trigger的debuginfo是true
请问,如何把这些trigger的debug改为false?
作者: xkx2003 发布时间: 2011-09-15
作者: luoyoumou 发布时间: 2011-09-15
select * from all_probe_objects
就可以看到debuginfo
作者: xkx2003 发布时间: 2011-09-15
dba登陆
select * from all_probe_objects
就可以看到debuginfo
-- 这是数据字典表,是不能(也不应该)直接更新的!
作者: luoyoumou 发布时间: 2011-09-15
-- 看 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.1 describes 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.
作者: luoyoumou 发布时间: 2011-09-15
-- 只能这样修改: 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 F sys@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
作者: luoyoumou 发布时间: 2011-09-15
http://space.itpub.net/13129975/viewspace-626245
作者: luoyoumou1202 发布时间: 2011-09-15
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28