首页 > 其他 > 详细

set autotrace on 报cannot set autotrace 错误解决方法

时间:2018-07-01 17:17:17      阅读:328      评论:0      收藏:0      [点我收藏+]

1、首先以sys用户登录,然后执行以下脚本:

  @?/sqlplus/admin/plustrce.sql  (创建plustrace角色并授权)

  @?/rdbms/admin/utlxplan.sql  (创建执行计划的表)

2、授予权限:

  grant all on plan_table to public; (也可以授权给某一个单独的用户)

  grant plustrace to public ;

 这个命令只能在sqlplus中运行,在plsql developer等工具中不能运行。

https://www.cnblogs.com/cangos/archive/2011/12/19/2293935.html

set autotrace on 报cannot set autotrace 错误解决方法

原文:https://www.cnblogs.com/ls11736/p/9250535.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!