Examine these facts about a databases:
1.USERS is the database default tablespace.
2.USER1,USER2,and USER3 have the CREATE SESSION privilege
3.They also have UNLIMITED QUOTA on the default tablespace USERS.
4.They have no other provileges.
Examine these commands:
SQL>conn / as sysdba
Connected.
SQL>GRANT CREATE TABLE TO user1 WITH ADMIN OPTION
Grant succeeded
SQL>conn user1/oracle_4U
Connected.
SQL>GRANT CREATE TABLE TO user2;
Grant succeeded.
SQL>GRANT CREATE TABLE TO user3 WITH ADMIN OPTION;
Grant succeeded.
Which two are true?
A)If sys revokes CREATE TABLE from USER1,it is not revoked from USER2 and USER3
B)Any user with CREATE TABLE WITH ADMIN OPTION can revoke CREATE TABLE from USER1
C)If sys revokes CREATE TABLE from USER1,it is revoked from USER2 but not from USER3
D)Only sys and USER1 can revoke CREATE TABLE from USER3
E)Only sys can revoke CREATE TABLE from USER1.
Answer: AB
赵:注意与上题的区别是,中间切换到了 user1 对 user2 和 user3 进行的授权,而不是 SYS 直接授权的。
经测试,SYS 和 USER1 可以收回 USER3 的 CREATE TABLE 权限,但 USER2 不能收回 USER3 的建表权。
USER3 可以收回 USER1 和 USER2 的 CREATE TABLE 权限。此题 D 选项虽是对的,但是其中用了 ONLY,没有 B 选项好。