In one of your data s:
1.USER1 and USER2 have no system privileges.
2.ROLE1 only has these privileges:
?CREATE SESSION
?CREATE TABLE
?CREATE VIEW
Examine these commands:
SQL> conn / as sysdba
Connected.
SQL> GRANT create table, role1 TO user1 WITH ADMIN OPTION;
Grant succeeded.
SQL> conn user1/oracle_4U
Connected.
SQL> GRANT role1 TO user2;
Grant succeeded.
Which command would you execute and as which user, to revoke the create table privilege from USER2?
A)REVOKE CREATE TABLE FROM user2 as USER1
B)REVOKE CREATE TABLE FROM user1 as SYS
C)REVOKE CREATE TABLE FROM role1 as USER1
D)REVOKE CREATE TABLE FROM role1 as SYS
E)REVOKE CREATE TABLE FROM user2 as SYS
Answer: D
赵:和上题的区别是比上题多了一个选项 A。
继续阅读与本文标签相同的文章
-
Spring Boot中@ConfigurationProperties注解实现原理源码解析
2026-05-18栏目: 教程
-
Qt编写自定义控件57-直方波形图
2026-05-18栏目: 教程
-
Qt编写自定义控件58-直方对称图
2026-05-18栏目: 教程
-
Qt编写自定义控件59-直方动态图
2026-05-18栏目: 教程
-
Qt编写自定义控件60-声音波形图
2026-05-18栏目: 教程
