ORACLE ORA-02030: can only select from fixed tables/views
2015-01-08 11:59
666 查看
对于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.
相关文章推荐
- ORACLE 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
- 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
- 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
- Oracle ORA-22992 cannot use LOB locators selected from remote tables解决
- Oracle: ORA-01461 仅可以为插入 LONG 列的 LONG 值赋值(can bind a LONG value only for insert into a LONG )
- android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
- ORA-01461: can bind a LONG value only for insert into a LONG column oracle
- oracle主键自动增长的实现 Oracle Sequence oracle maxid自动生成--ORA-00001: 违反唯一约束条件 (NAME.SYS_C005547)产生的原因之一(select * from all_cons_columns w
- oracle insert select from 导致ORA-04030
- 关于Only the original thread that created a view hierarchy can touch its views的解决方案
- 无法连接到数据库实例: ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege (D...
- Only if I can feel the heat from soccer- steady the first day.
- insert into...select from...ORA-02287: sequence number not allowed here问题