You issued the following command:   ALTER TABLE SCOTT.EMP SH

题目
单选题
You issued the following command:   ALTER TABLE SCOTT.EMP SHRINK SPACE;   The SCOTT.EMP table is stored in the DATA1 tablespace that has the following properties:   DATA1 is a read/write tablespace.   DATA1 is not autoextensible to an unlimited size.  DATA1 is online.   Segment space management for the DATA1 tablespace is manual.   You issued the ALTER TABLE SCOTT.EMP SHRINK SPACE; command that generates the following error:   ORA-10635: Invalid segment or tablespace type    What could be the reason for the failure of the command?()
A

 The tablespace, DATA1, is not read-only.

B

 The tablespace, DATA1, is not autoextensible.

C

 The tablespace, DATA1, is not offline.

D

 The segment space management for the tablespace, DATA1, is manual.

参考答案和解析
正确答案: A
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You moved the index EMP_NO_INDX from one tablespace to another and then issued the following command to rebuild the index EMP_NO_INDX:   SQL> ALTER INDEX EMP_NO_INDX REBUILD ONLINE;   Which table allows the users to access the EMP_NO_INDX index while performing the rebuild operation?() 

  • A、 Index-organized table
  • B、 Mapping Table
  • C、 Clustered Table
  • D、 Journal Table

正确答案:D

第2题:

You issued the following command to drop the PRODUCTS table: SQL> DROP TABLE products; What is the implication of this command?()

  • A、All data along with the table structure is deleted 
  • B、The pending transaction in the session is committed 
  • C、All indexes on the table will remain but they are invalidated 
  • D、All views and synonyms will remain but they are invalidated 
  • E、All data in the table are deleted but the table structure will remain

正确答案:A,B,D

第3题:

You opened the encryption wallet and then issued the following command:Then you closed the wallet. Later, you issued the following command to create the EMPLOYEES table in the SECURESPACE tablespace and you use the NO SALT option for the EMPID column.What is the outcome?()

A. It creates the table and encrypts the data in it.

B. It generates an error because the wallet is closed.

C. It creates the table but does not encrypt the data in it.

D. It generates an error because the NO SALT option cannot be used with the ENCRYPT option.


参考答案:B

第4题:

Examine the following commands executed in your database: SQL> ALTER SESSION RECYCLEBIN=ON; Session altered  SQL > CREATE TABLE emp TABLESPACE tbsfd AS SELECT * FROM hr.employees;  Table created.  Further, you executed the following command to drop the table:  SQL> DROP TABLE emp;Table dropped.  What happens in this scenario?()

  • A、The table is moved to the SYSAUX tablespace.
  • B、The table is moved to the SYSTEM tablespace.
  • C、The table is removed from the database permanently.
  • D、The table is renamed and remains in the TBSFD tablespace.

正确答案:D

第5题:

You issued the following command to analyze the SCOTT.EMP table for block corruption:   ANALYZE TABLE SCOTT.EMP VALIDATE STRUCTURE;  You received the following error:   ORA-01578: ORACLE data block corrupted  (file # %s, block # %s)   How will you resolve the block corruption problem?()

  • A、 by using the DBMS_REPAIR package
  • B、 by using the DB_BLOCK_CHECKING parameter
  • C、 by using the DBVERIFY utility
  • D、 will not be completely resolved until the hardware fault is corrected

正确答案:D

第6题:

You just issued the following statement: ALTER TABLE SALES DROP COLUMN PROFIT. Which of the following choices identifies when the column will actually be removed from Oracle?()

  • A、Immediately following statement execution 
  • B、After the ALTER TABLE DROP UNUSED COLUMNS command is issued 
  • C、After the ALTER TABLE SET UNUSED COLUMN command is issued 
  • D、After the ALTER TABLE MODIFY command is issued

正确答案:B

第7题:

You created the DEPT table by using the following command:   CREATE TABLE scott.dept   (deptno NUMBER(3),   dname VARCHAR2(15),   loc VARCHAR2(15) )   STORAGE (INITIAL 100K NEXT 50K  MAXEXTENTS 10 PCTINCREASE 5  FREELIST GROUPS 6 FREELISTS 4);You are required to shrink the DEPT table. While performing the shrink operation, you want to ensure that the recovered space is returned to the tablespace in which the DEPT table is stored. You do not want to shrink the indexes created on the DEPT table. What will you do to shrink the SCOTT.EMP table?()

  • A、 Issue the ALTER TABLE SCOTT.DEPT SHRINK SPACE COMPACT; statement.
  • B、 Issue the ALTER TABLE SCOTT.DEPT SHRINK SPACE; statement.
  • C、 Issue the ALTER TABLE SCOTT.DEPT SHRINK SPACE CASCADE; statement.
  • D、 You cannot shrink the SCOTT.EMP table.

正确答案:D

第8题:

You are shrinking the SCOTT.EMP table by executing the ALTER TABLE SCOTT.EMP SHRINK SPACE CASCADE statement. What is a prerequisite for shrinking the SCOTT.EMP table?()

  • A、 You must enable the block change tracking feature.
  • B、 You must have enable the flashback feature.
  • C、 You must use the OMF in your database.
  • D、 You must define the tablespace of the SCOTT.EMP table for automatic segment space management.

正确答案:D

第9题:

You are trying to alter the initial segment size given to a table in a dictionary-managed tablespace. Which of the following keywords would be used as part of this process?()

  • A、DROP TABLE 
  • B、ALTER TABLE 
  • C、RESIZE 
  • D、COALESCE

正确答案:A

第10题:

Sales details are being stored on a daily basis in the SALES_2007 table. A large amount of data is added to the table daily. To save disk space, you issued the following command: ALTER TABLE sales_2007 COMPRESS FOR ALL OPERATIONS; What would be the outcome of this command?()

  • A、It produces an error because data already exists in the table.
  • B、It produces an error because compression can be enabled at table creation only.
  • C、It compresses all data added or modified henceforth but the existing data in the table is not compressed immediately.
  • D、It immediately compresses all existing data as well as new data, resulting from either fresh additions or modifications to existing data.

正确答案:C

更多相关问题