多选题Which three descriptions are correct about the effects of the TRUNCATE command on a table()AThe corresponding indexes for the table are also truncated.BDelete triggers on the table are fired during the execution of the TRUNCATE command.CThe child table

题目
多选题
Which three descriptions are correct about the effects of the TRUNCATE command on a table()
A

The corresponding indexes for the table are also truncated.

B

Delete triggers on the table are fired during the execution of the TRUNCATE command.

C

The child table is truncated when the TRUNCATE command is applied on the parent table.

D

The high-water mark (HWM) is set to point to the first usable data block in the table segment.

E

No undo or very little undo data is generated during the execution of the TRUNCATE command

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

第1题:

Evaluate the SQL statement: TRUNCATE TABLE DEPT; Which three are true about the SQL statement? ()

A. It releases the storage space used by the table.

B. It does not release the storage space used by the table.

C. You can roll back the deletion of rows after the statement executes.

D. You can NOT roll back the deletion of rows after the statement executes.

E. An attempt to use DESCRIBE on the DEPT table after the TRUNCATE statement executes will display an error.

F. You must be the owner of the table or have DELETE ANY TABLE system privileges to truncate the DEPT table


参考答案:B, D, F

第2题:

关于Truncate table, 以下()描述是错误的。

  • A、Truncate table 可跟Where从句,根据条件进行删除
  • B、Truncate table 用来删除表中所有数据
  • C、触发器对Truncate table无效
  • D、delete 比Truncate table速度快

正确答案:A,D

第3题:

View the exhibit and examine the TRANS table‘s storage information.After a massive delete operation, you executed the following statement to shrink the TRANS table:SQL> ALTER TABLE trans SHRINK SPACE CASCADE;Which statement describes the outcome of the command?()

A. An error is produced.

B. The table and all related objects are compacted and the position of the high-water mark (HWM) for the table is adjusted

C. The table and related indexes are compacted but the position of the high-water mark (HWM) for the table remains unchanged

D. The unused space in the table is reclaimed and returned to the tablespace and the data manipulation language (DML) triggers on the table are fired during the shrinking process


参考答案:B

第4题:

You enabled Flashback Data Archive on the INVENTORY table. Which DDL operation is supported on the table after enabling Flashback Data Archive?()  

  • A、 Drop the table.
  • B、 Partition the table.
  • C、 Truncate the table.
  • D、 Add a column to the table.
  • E、 Rename a column in the table.

正确答案:D

第5题:

You enabled Flashback Data Archive on the INVENTORY table.Which DDL operation is supported on the table after enabling Flashback Data Archive?()

  • A、Drop the table.
  • B、Partition the table
  • C、Truncate the table.
  • D、Add a column to the table.
  • E、Rename a column in the table.

正确答案:D

第6题:

Examine the following commands for redefining a table with Virtual Private Database (VPD) policies:Which two statements are true about redefining the table?()

A. All the triggers for the table are disabled without changing any of the column names or column types in the table.

B. The primary key constraint on the EMPLOYEES table is disabled during redefinition.

C. VPD policies are copied from the original table to the new table during online redefinition.

D. You must copy the VPD policies manually from the original table to the new table during online redefinition.


参考答案:B, C

第7题:

关于Truncatetable,以下()描述是正确的。

  • A、Truncate table 可跟Where从句,根据条件进行删除 
  • B、Truncate table 用来删除表中所有数据 
  • C、触发器对Truncate table无效 
  • D、delete 比Truncate table速度快

正确答案:B,C

第8题:

You enabled Flashback Data Archive on the INVENTORY table.Which DDL operation is supported on the table after enabling Flashback Data Archive?()

A. Drop the table.

B. Partition the table

C. Truncate the table.

D. Add a column to the table.

E. Rename a column in the table.


参考答案:D

第9题:

Which two partitioned table maintenance operations support asynchronous Global Index Maintenance inOracle database 12c?()

  • A、ALTER TABLE SPLIT PARTITION
  • B、ALTER TABLE MERGE PARTITION
  • C、ALTER TABLE TRUNCATE PARTITION
  • D、ALTER TABLE ADD PARTITION
  • E、ALTER TABLE DROP PARTITION
  • F、ALTER TABLE MOVE PARTITION

正确答案:C,E

第10题:

What is the result of executing a TRUNCATE TABLE command on a table that has Flashback Archivingenabled?()

  • A、It fails with the ORA-665610 Invalid DDL statement on history-tracked message
  • B、The rows in the table are truncated without being archived.
  • C、The rows in the table are archived, and then truncated.
  • D、The rows in both the table and the archive are truncated.

正确答案:A

更多相关问题