AUTOTRACE 使用的设置

上一篇 / 下一篇  2008-06-27 19:34:13


1.用sys用户运行脚本ultxplan.sql

2.SQL> create public synonym plan_table for plan_table;--建立同义词

3.SQL> grant all on plan_table to public;--授权所有用户

4.运行sqlplus\admin\plustrce.sql --创建角色plustrace

5.SQL>grant plustrace to public;--将角色plustrace授予需要autotrace的用户

这样,所有的用户都可以在sql*plus中使用autotrace了。


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-11-22  
      1
2345678
9101112131415
16171819202122
23242526272829
30      

数据统计

  • 访问量: 160
  • 日志数: 6
  • 建立时间: 2008-06-16
  • 更新时间: 2008-07-02

RSS订阅

Open Toolbar