zoukankan      html  css  js  c++  java
  • 053-230

    You plan to use Flashback Drop feature to recover a dropped table SALES_EMP. No other table with the same name exists in the schema.
    You query RECYCLEBIN and find multiple entries for the SALES_EMP table as follows: You then issue the following statement to recover the table:

    SQL> FLASHBACK TABLE sales_emp TO BEFORE DROP;
    What would be the outcome of the precedent statement?
    A. It retrieves the latest version of the table from the recycle bin
    B. It retrieves the oldest version of the table from the recycle bin
    C. It retrieves the version of the table for which undo information is available
    D. It returns an error because the table name is not specified as per the names in the OBJECT_NAME column

    D错误,可以不用指定对象名,指定相关表名也是可以的。
    C错误,FLASHBACK TABLE...TO BEFORE DROP是基于回收站,并不是基于undo的。
    当有多个对象公用一个表名时,使用FLASHBACK TABLE..TO BEFORE DROP,最新删除的表的条目会从回收站恢复。B错,A对
    查询回收站中的对象:
    SELECT object_name,original_name,createtime FROM recyclebin;

     

  • 相关阅读:
    近期学习情况
    java连接数据库的两种方法总结
    近两个星期学习成果
    云笔记第一阶段总结
    圆面积
    C++计算器项目的初始部分
    C++视频课程
    A+B Format
    大一下学期的自我目标
    Kohana的请求流
  • 原文地址:https://www.cnblogs.com/Babylon/p/7844309.html
Copyright © 2011-2022 走看看