zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-200题-105题-271

    QUESTION 105

    Examine the output of the query that you executed tolist the objects in the recycle bin:

    SQL> SELECT original_name, droptime, dropscn FROM user_recyclebin;

    ORIGINAL_NAME DROPTIME  DROPSCN

    -------------------------- ------------------------------- -------------------

    SALES_TAB 2007-12-11:13:37:11  4472036

    SALES_TAB 2007-12-11:13:49:30  4472988

    SALES_TAB 2007-12-11:13:55:39  4473100

    You verified that no table named SALES_TAB exists in the schema. Then you executed the following

    command to purge the objects in the recycle bin:

    SQL> PURGE TABLE sales_tab;

    What would be the outcome of this command?

    A. All three tables in the recycle bin are purged

    B. Only the table with the oldest DROPSCN is purged

    C. The command returns an error because multiple entries with the same name exist in the recycle bin

    D. Only the table with the latest DROPSCN is purged

    Answer: B

    同271题:http://blog.csdn.net/rlhua/article/details/14492517


    Explanation/Reference:

    Section: SQL, PL/SQL, Packages, Functions, Jobs & Views

    verified

    http://download.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_9018.htm

    If you specify the user-specified name, and if the recycle bin contains more than one object of that name, then

    the database purges the object that has been in therecycle bin the longest.

    Use the PURGE statement to remove a table or index from your recycle bin and release all of the space

    associated with the object, or to remove the entirerecycle bin, or to remove part of all of a droppedtablespace

    from the recycle bin.

    When the database purges a table, all table partitions, LOBs and LOB partitions, indexes, and other dependent

    objects of that table are also purged.

    The database object must reside in your own schema or you must have the DROP ANY... system privilege for

    the type of object to be purged, or you must have the SYSDBA system privilege.

  • 相关阅读:
    编写一个静态类MyExtensions(看不太懂以后应该学到吧)
    c#
    HTML-表格与表单
    VS学习笔记3 (0413)
    HTML 个人简历模板简易版
    C#语言之二维数组
    C#学习笔记---函数 的理解及总结(入门级)
    c#语言-Split拆分
    c#学习之数组 36选7随机数不重复/折半取余
    VS学习笔记--数组
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316053.html
Copyright © 2011-2022 走看看