Oracle 11G OCP 1Z0-052 129
SQL> connect smith/smith Connected. SQL> SELECT * FROM v$session; SELECT * FROM v$session * ERROR at line 1: ORA-00942: table or view does not exist |
Which are the two possible solutions to enable SMITH to query the data in V$SESSION? (Choose two.)
A. granting SELECT privilege to SMITH on V$SESSION
B. granting SELECT privilege to SMITH on V_$SESSION
C. asking the user SMITH to run the catalog.sql script
D. granting SELECT privilege to SMITH on V$FIXED_TABLES
E. setting the O7_DICTIONARY_ACCESSIBILITY parameter to TRUE
F. creating a view based on V$SESSION and granting SELECT privilege to SMITH on the view that was created
答案:(B、F)
解析:
-- 方法一 sys@TESTDB11>grant select on v_$session to usera; Grant succeeded. usera@TESTDB11>select count(*) from v$session; COUNT(*) ---------- 45
sys@TESTDB11>revoke select on v_$session from usera; Revoke succeeded.
--方法二(建立檢視) sys@TESTDB11>create view mysession as select * from v$session; View created. sys@TESTDB11>grant select on mysession to usera; Grant succeeded. usera@TESTDB11>select count(*) from v$session; COUNT(*) ---------- 45 |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17013648/viewspace-1199471/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11G OCP 1Z0-052 14Oracle
- Oracle 11G OCP 1Z0-052 88Oracle
- Oracle 11G OCP 1Z0-052 89Oracle
- Oracle 11G OCP 1Z0-052 90Oracle
- Oracle 11G OCP 1Z0-052 92Oracle
- Oracle 11G OCP 1Z0-052 93Oracle
- Oracle 11G OCP 1Z0-052 94Oracle
- Oracle 11G OCP 1Z0-052 95Oracle
- Oracle 11G OCP 1Z0-052 96Oracle
- Oracle 11G OCP 1Z0-052 97Oracle
- Oracle 11G OCP 1Z0-052 98Oracle
- Oracle 11G OCP 1Z0-052 99Oracle
- Oracle 11G OCP 1Z0-052 71Oracle
- Oracle 11G OCP 1Z0-052 73Oracle
- Oracle 11G OCP 1Z0-052 74Oracle
- Oracle 11G OCP 1Z0-052 75Oracle
- Oracle 11G OCP 1Z0-052 76Oracle
- Oracle 11G OCP 1Z0-052 77Oracle
- Oracle 11G OCP 1Z0-052 78Oracle
- Oracle 11G OCP 1Z0-052 79Oracle
- Oracle 11G OCP 1Z0-052 80Oracle
- Oracle 11G OCP 1Z0-052 81Oracle
- Oracle 11G OCP 1Z0-052 82Oracle
- Oracle 11G OCP 1Z0-052 83Oracle
- Oracle 11G OCP 1Z0-052 84Oracle
- Oracle 11G OCP 1Z0-052 85Oracle
- Oracle 11G OCP 1Z0-052 87Oracle
- Oracle 11G OCP 1Z0-052 53Oracle
- Oracle 11G OCP 1Z0-052 54Oracle
- Oracle 11G OCP 1Z0-052 57Oracle
- Oracle 11G OCP 1Z0-052 58Oracle
- Oracle 11G OCP 1Z0-052 59Oracle
- Oracle 11G OCP 1Z0-052 60Oracle
- Oracle 11G OCP 1Z0-052 61Oracle
- Oracle 11G OCP 1Z0-052 62Oracle
- Oracle 11G OCP 1Z0-052 63Oracle
- Oracle 11G OCP 1Z0-052 64Oracle
- Oracle 11G OCP 1Z0-052 65Oracle