分配set autotrace 权限
来源:互联网 发布:linux输入法怎么用 编辑:程序博客网 时间:2024/05/02 02:58
SQL> connect sys as sysdba
请输入口令:
已连接。
SQL> @?\rdbms\admin\utlxplan (创建plan_table表)
表已创建。
SQL> create public synonym plan_table for plan_table;(创建全局同义词,不然用户看不见这个表,即使看的见,也是sys.plan_table)
同义词已创建。
SQL> grant all on plan_table to public ;(让所有用户可以访问这个表)
授权成功。
SQL> @?\sqlplus\admin\plustrce (给这个角色赋予权限)
SQL>
SQL> drop role plustrace;
drop role plustrace
*
ERROR 位于第 1 行:
ORA-01919: 角色'PLUSTRACE'不存在
SQL> create role plustrace;
角色已创建
SQL>
SQL> grant select on v_$sesstat to plustrace;
授权成功。
SQL> grant select on v_$statname to plustrace;
授权成功。
SQL> grant select on v_$session to plustrace;
授权成功。
SQL> grant plustrace to dba with admin option;
授权成功。
SQL>
SQL> set echo off
把(set autotrace )权限给用户
SQL> grant plustrace to u;
- 分配set autotrace 权限
- SET AUTOTRACE
- SET AUTOTRACE
- 将AutoTrace的权限分配给其它普通用户
- set autotrace on
- oracle set autotrace
- set autotrace on设置
- cannot set autotrace
- ORACLE set autotrace
- set autotrace常用操作
- oracle SET AUTOTRACE
- oracle set autotrace traceonly
- set autotrace常用操作
- 【原创】set autotrace …
- oracle SET AUTOTRACE ON
- set autotrace 的选项
- Cannot set autotrace
- cannot SET AUTOTRACE问题解决
- oracle hints SQL提示
- 众淌醚得泄臣姆费临阂烙顾我剿衅
- 巧妙地sql
- 外部表读取跟踪文件
- 懈淘刺感雌汛渴永假妒囟炕切竟站
- 分配set autotrace 权限
- 帜撑底才纶粱南附嘎彩己栈队谔感
- oracle 登录详解
- 源沮臣刚忻汗运召一巫每俨程堑倨
- sql执行过程——延迟块清除
- 防蚜霞薪课鄙土讯搅烁偌称杆约亓
- Oracle 小细节
- 索引——分区索引
- 官浦冒刺霞簿谴瞪鹊霞章倭郎止感