OCP-1Z0-053-V13.02-25题

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

Answer: D
 
答案解析:
根据D50081CN11 Oracle Database 11g:面向管理员的新增功能文档
 

DDL 限制
出于安全性和合法兼容性方面的考虑,上述限制可确保闪回数据归档中的数据不会失效。对启用了闪回数据归档功能的表使用下述任一DDL 语句都会导致错误ORA-55610:
• 执行以下任一操作的ALTER TABLE语句:
– 删除、重命名或修改列
– 执行分区或子分区操作
– 将LONG列转换为LOB列
– 包括UPGRADE TABLE子句(不管有无INCLUDING DATA子句)
• DROP TABLE语句
 


DDL Statements on Tables Enabled for Flashback Data Archive

Flashback Data Archive supports only these DDL statements:

  • ALTER TABLE statement that does any of the following:

    • Adds, drops, renames, or modifies a column

    • Adds, drops, or renames a constraint

    • Drops or truncates a partition or subpartition operation

  • TRUNCATE TABLE statement

  • RENAME statement that renames a table

Flashback Data Archive does not support DDL statements that move, split, merge, or coalesce partitions or subpartitions, move tables, or convert LONG columns to LOB columns.

For example, the following DDL statements cause error ORA-55610 when used on a table enabled for Flashback Data Archive:

  • ALTER TABLE statement that includes an UPGRADE TABLE clause, with or without an INCLUDING DATA clause

  • ALTER TABLE statement that moves or exchanges a partition or subpartition operation

  • DROP TABLE statement

If you must use unsupported DDL statements on a table enabled for Flashback Data Archive, use theDBMS_FLASHBACK_ARCHIVE.DISASSOCIATE_FBA procedure to disassociate the base table from its Flashback Data Archive. To reassociate the Flashback Data Archive with the base table afterward, use the DBMS_FLASHBACK_ARCHIVE.REASSOCIATE_FBA procedure.


根据官方文档,此题可选CDE,可根据D50081CN11文档,只能选D,且没有提到C是否支持。

综合一下,如果考试时单选则选D,如果多选则选CDE

原文地址:https://www.cnblogs.com/hzcya1995/p/13316027.html