zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-V12.02-387题

    387.Which method could be utilized to identify both DML operations and the SQL statements needed to

    undo those operations for a specific schema owner? (Choose all that apply.)

    A. Query DBA_TRANSACTION_QUERY for TABLE_NAME, OPERATION, and UNDO_SQL. Limit rows

    by START_SCN and TABLE_OWNER.

    B. Query FLASHBACK_TRANSACTION_QUERY for TABLE_NAME, OPERATION, and UNDO_SQL.

    Limit rows by START_SCN and TABLE_OWNER.

    C. Query FLASHBACK_TRANSACTION_QUERY for TABLE_NAME, OPERATION, and UNDO_SQL.

    Limit rows by START_TIMESTAMP and TABLE_OWNER.

    D. Query DBA_TRANSACTION_QUERY for TABLE_NAME, OPERATION, and UNDO_SQL. Limit rows

    by START_SCN and TABLE_OWNER.

    Answer: BC

     答案解析:

    START_SCN和START_TIMESTAMP都是指一个时间点。

    FLASHBACK_TRANSACTION_QUERY

    FLASHBACK_TRANSACTION_QUERY displays information about all flashback transaction queries in the database. The database must have at least minimal supplemental logging enabled to avoid unpredictable behavior.

    Column Datatype NULL Description
    XID RAW(8) Transaction identifier
    START_SCN NUMBER Transaction start system change number (SCN)
    START_TIMESTAMP DATE Transaction start timestamp
    COMMIT_SCN NUMBER Transaction commit system change number; NULL for active transactions
    COMMIT_TIMESTAMP DATE Transaction commit timestamp; NULL for active transactions
    LOGON_USER VARCHAR2(30) Logon user for the transaction
    UNDO_CHANGE# NUMBER Undo system change number (1 or higher)
    OPERATION VARCHAR2(32) Forward-going DML operation performed by the transaction:
    • D - Delete

    • I - Insert

    • U - Update

    • B

    • UNKNOWN

    TABLE_NAME VARCHAR2(256) Name of the table to which the DML applies
    TABLE_OWNER VARCHAR2(32) Owner of the table to which the DML applies
    ROW_ID VARCHAR2(19) Rowid of the row that was modified by the DML
    UNDO_SQL VARCHAR2(4000) SQL to undo the DML indicated by OPERATION
     
  • 相关阅读:
    ES6中的export,import ,export default
    centos7 安装php 多线程pthreads
    ubuntu系统安装nginx出现的错误(依赖环境没有安装完)
    ubuntu彻底干净卸载MySQL、Apache2、Php的方法(各版本通用
    mysql-ubuntu14.04彻底卸载mysql
    centos 中GTK的安装
    centos 安装cmake 3.3.2
    yum安装方式的php,切换NTS为ZTS版本
    eclipse中jad反编译工具的安装
    在SpringMVC中获取request对象的几种方式
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316390.html
Copyright © 2011-2022 走看看