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了。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/237876/viewspace-366162/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/237876/viewspace-366162/