oracle数据库ocp,oracle 数据库 OCP-053-686

686. You execute the following FLASHBACK TABLE command:

04b593ee7adbc5ff0fd2c02d96ef5043.png

Which two statements are correct?(Choose two.)

A.The EMP table that was dropped by  mistake earlier is restored.

B.The FLASHBACK TABLE statement is  executed as a single transaction.

C.The FLASHBACK TABLE statement does not maintain existing indexes on the EMP table.

D.The changes made to the EMP table since the specified time are undone if no constraint is violatedduring flashback.

Answer: BD

解析:此题考察闪回表,一定要和闪回删除区分开,闪回表是当你对一个表做了DML操作,可以通过它来闪回到你没有操作之前,它是基于undo表空间的,读取的是undo表空间的里的历史数据来恢复,而闪回删除(flashback table before drop )把已经drop掉的表从回收站里面恢复出来,所以A选项错误,针对C选项,从官方文档可以看出来C错误,Oracle Flashback Table:

Restores all data in a specified table to a previous point in time described by a timestamp or SCN.

Performs the restore operation online.

Automatically maintains all of the table attributes, such as indexes, triggers, and constraints that are necessary for an application to function with the flashed-back table.   所以C错

Maintains any remote state in a distributed environment. For example, all of the table modifications required by replication if a replicated table is flashed back.

Maintains data integrity as specified by constraints. Tables are flashed back provided none of the table constraints are violated. 所以D对

This includes any referential integrity constraints specified between a table included in theFLASHBACK TABLEstatement and another table that is not included in theFLASHBACK TABLEstatement.

Even after a flashback operation, the data in the original table is not lost. You can later revert to the original state.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值