Sys executes this command:
SQL> REVOKE UPDATE ON user1.emp FROM user1;
What will be the outcome?
A)It will fail because USER1 is the owner of USER1.EMP.
B)It will succeed but neither USER1 nor USER2 will be able to perform SELECT, INSERT, or UPDATE on USER1.EMP.
C)It will succeed and only USER1 will be unable to perform SELECT, INSERT, or UPDATE on USER1.EMP.
D)It will succeed and neither USER1 nor USER2 will be able to perform INSERT or UPDATE on USER1.EMP, but both will be able to query USER1.EMP.
E)It will succeed and only USER2 will be unable to perform SELECT, INSERT, or UPDATE on USER1.EMP.
Answer: A
赵:SYS 不能收回对象属主的权限。
考点:系统权限和对象权限的级联授予和级联收回。对象权限可以级联收回,系统权限不能级联收回。
系统权限的级联授予 WITH ADMIN OPTION
对象权限的级联授予 WITH GRANT OPTION
系统权限和对象的级联收回
(1) 系统权限: A 赋予一个系统权限给 B,B 再授予 C.然后 A 将该权限从 B 回收. 此后,C 仍然有该权限.
(2) 对象权限: A 赋予一个对象权限给 B,B 再授予 C.然后 A 将该权限从 B 回收. 此后,C 也失去了该权限.