Which statement describes the effect of the command?

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?

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_SPACEtablespace.

C.
The command produces an error because the user does not have the privilege to createthe table.

D.
The command produces an error because the user does not have quota in the PURCHASE_SPACE
tablespace.



Leave a Reply 6

Your email address will not be published. Required fields are marked *


Prince

Prince

Exhibit not showing

Exhibit

Exhibit

Prince not showing

Showing

Showing

Exhibit not Prince.

jean

jean

Because the RESOURCE role has CREATE TABLE privilege, so the command will create with success.

aycan

aycan

And also RESOURCE role has UNLIMITED TABLESPACE system privilege. Therefore the user can create table in any tablespace.

Luz

Luz

CONNECT role has only CREATE SESSION

RESOURCE has CREATE CLUSTER, CREATE INDEXTYPE, CREATE OPERATOR, CREATE PROCEDURE, CREATE SEQUENCE, CREATE TABLE, CREATE TRIGGER and CREATE TYPE