ORACLE ORA-02030: can only select from fixed tables/views
2013-12-23 16:24
561 查看
对于x$的情况
SQL> grant select on sys.x$bh to t1;
grant select on sys.x$bh to t1
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
对于fixed tables/views只能select
如果想把x$bh的select权限grant给其他用户怎么办呢,可以变通一下
SQL> create view xbh as select * from sys.x$bh;
View created.
SQL> grant select on xbh to t1;
Grant succeeded.
这个普通用户t1就有了select到 sys.x$bh权限了
对于v$的情况
SQL> grant select on v$session to t1;
grant select on v$session to bss
*
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
SQL> grant select on v_$session to t1;
Grant succeeded.
SQL> grant select on sys.x$bh to t1;
grant select on sys.x$bh to t1
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
对于fixed tables/views只能select
如果想把x$bh的select权限grant给其他用户怎么办呢,可以变通一下
SQL> create view xbh as select * from sys.x$bh;
View created.
SQL> grant select on xbh to t1;
Grant succeeded.
这个普通用户t1就有了select到 sys.x$bh权限了
对于v$的情况
SQL> grant select on v$session to t1;
grant select on v$session to bss
*
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
SQL> grant select on v_$session to t1;
Grant succeeded.
相关文章推荐
- ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- ORACLE ORA-02030: can only select from fixed tables/views
- ORA-01219:database not open:queries allowed on fixed tables/views only
- ORA-01219:database not open:queries allowed on fixed tables/views only
- android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
- ORA-01219:database not open:queries allowed on fixed tables/views only
- calledfromwrongthreadexception only the original that created a view hierarchy can touch its views
- 错误:Can't upgrade read-only database from version 0 to 1
- Android进阶——Handler的应用之解决Only the original thread that created a view hierarchy can touch its views
- Work 工作子线程更新UI控件--解决Only the original thread that created a view hierarchy can touch its views
- Only the original thread that created a view hierarchy can touch its views
- 浅析Android中的消息机制-解决:Only the original thread that created a view hierarchy can touch its views.
- Only one expression can be specified in the select list when the subquery is not introduced with EXI
- Only the original thread that created a view hierarchy can touch its views.
- Only one expression can be specified in the select list when the subquery is not introduced with EXI
- Only the original thread that created a view hierarchy can touch its views