180.User SCOTT wants to perform a bulk insert operation in the EMP_DEP table. SCOTT receives the fol

来源:互联网 发布:mac chili色号 编辑:程序博客网 时间:2024/05/22 17:03
180.User SCOTT wants to perform a bulk insert operation in the EMP_DEP table. SCOTT receives the
following error after the INSERT statement is issued and few rows are inserted:
INSERT INTO EMP_DEP (emp_id,name,salary,dep_name,mgr_id)
*
ERROR at line 1:
ORA-01653: unable to extend table SCOTT.EMP_DEP by 128 in tablespace USERS
Identify two actions either of which will help you resolve this problem. (Choose two.)
A.Grant the RESOURCE role to SCOTT.
B.Add data files to the USERS tablespace.
C.Grant the CREATE ANY TABLE privilege to SCOTT.
D.Increase the space for SCOTT on the USERS tablespace.
E.Increase the size of the data file associated with the USERS tablespace.
答案:BE
解析:我们先看下这个错误原因和建议
[oracle@wahaha3 ~]$ oerr ora 1653
01653, 00000, "unable to extend table %s.%s by %s in tablespace %s"
// *Cause:  Failed to allocate an extent of the required number of blocks for 
//          a table segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
//          files to the tablespace indicated.
从建议中我们看到是建议增大表空间,D选项是说增大scott在users上的配额,没啥关系
0 0
原创粉丝点击