OCP 1Z0 053 56

56.You discover that your Recycle Bin contains two tables with the same name, MY_TABLE. You also 
have a table named MY_TABLE in your schema. You execute the following statement: 
FLASHBACK TABLE my_table TO BEFORE DROP RENAME TO my_table2; 
What will be the result of executing this statement? 
A. One of the tables is recovered from the Recycle Bin using a First In First Out (FIFO) approach. 
B. One of the tables is recovered from the Recycle Bin using a Last In First Out (LIFO) approach. 
C. Both the tables are recovered from the Recycle Bin with one table renamed to MY_TABLE2 and the 
other to a system-generated name. 
D. None of the tables are recovered from the Recycle Bin, and the statement returns an error. 
Answer: B

闪回被删除的表,用后进先出的顺序


http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmflash.htm#BRADV344

The most recently dropped table with this original name is retrieved from the recycle bin, with its original name. Example 18-2shows the retrieval from the recycle bin of all three dropped temp_employees tables from the previous example, with each assigned a new name.

Example 18-2 Renaming Dropped Tables

FLASHBACK TABLE temp_employees TO BEFORE DROP 
  RENAME TO temp_employees_VERSION_3;
FLASHBACK TABLE temp_employees TO BEFORE DROP 
  RENAME TO temp_employees_VERSION_2;
FLASHBACK TABLE temp_employees TO BEFORE DROP 
  RENAME TO temp_employees_VERSION_1;

Because the original name in FLASHBACK TABLE refers to the most recently dropped table with this name, the last table dropped is the first retrieved.


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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值