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.

ColumnDatatypeNULLDescription
XIDRAW(8)Transaction identifier
START_SCNNUMBERTransaction start system change number (SCN)
START_TIMESTAMPDATETransaction start timestamp
COMMIT_SCNNUMBERTransaction commit system change number; NULL for active transactions
COMMIT_TIMESTAMPDATETransaction commit timestamp; NULL for active transactions
LOGON_USERVARCHAR2(30)Logon user for the transaction
UNDO_CHANGE#NUMBERUndo system change number (1 or higher)
OPERATIONVARCHAR2(32)Forward-going DML operation performed by the transaction:
  • D - Delete

  • I - Insert

  • U - Update

  • B

  • UNKNOWN

TABLE_NAMEVARCHAR2(256)Name of the table to which the DML applies
TABLE_OWNERVARCHAR2(32)Owner of the table to which the DML applies
ROW_IDVARCHAR2(19)Rowid of the row that was modified by the DML
UNDO_SQLVARCHAR2(4000)SQL to undo the DML indicated by OPERATION
 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值