ITPub博客

首页 > 数据库 > Oracle > 1Z0-052 V12.49 Q21

1Z0-052 V12.49 Q21

原创 Oracle 作者:cow977 时间:2016-05-11 11:17:49 0 删除 编辑
QUESTION 21
View the Exhibit and examine the privileges granted to the SL_REP user.

The EMP table is owned by the SCOTT user. The SL_REP user executes the following command:
SQL> GRANT SELECT ON scott.emp TO hr;
Which statement describes the outcome of the command?

A. The command executes successfully
B. The command produces an error because the EMP table is owned by SCOTT
C. The command produces an error because SL_REP has the GRANT ANY OBJECT PRIVILEGE without ADMIN_OPTION
D. The command produces an error because SL_REP does not have the SELECT privilege with GRANT_OPTION on the EMP table
Correct Answer: A

实际测试:

SQL> conn / as sysdba
已连接。
SQL> create user sl_rep identified by abcd ;

用户已创建。

SQL> grant connect,resource to sl_rep;

授权成功。

SQL> grant grant any object privilege to sl_rep;

授权成功。

SQL> conn sl_rep/abcd
已连接。
SQL> grant select on scott.emp to hr;

授权成功。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/81227/viewspace-2097677/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 1Z0-052 V12.49 Q18
下一篇: 1Z0-052 V12.49 Q193
请登录后发表评论 登录
全部评论

注册时间:2011-03-02

  • 博文量
    698
  • 访问量
    893874