052-159

View the Exhibit and examine the user information.



The user has been granted CONNECT and RESOURCE roles and no individual system privileges. The SL_REP user executes this command to create a table:
SQL> CREATE TABLE orders(oid number(6), odate date, ccode number(4), oamt number(10,2)) TABLESPACE purchase_space;
The PURCHASE_SPACE tablespace already exists in the database. Which statement describes the effect of the command?
A.The command executes successfully and creates the table in the USERS tablespace.
B.The command executes successfully and creates the table in the PURCHASE_SPACE tablespace.
C.The command produces an error because the user does not have the privilege to create the table.
D.The command produces an error because the user does not have quota in the PURCHASE_SPACE
tablespace. 

RESOURCE 角色包含 Create Table 系统权限,所以可以创建表,创建语句中指定了表空间,故 B 正确

 

posted @ 2017-12-14 15:54  巴啦啦大魔王  阅读(129)  评论(0编辑  收藏  举报