Oracle 11G OCP 1Z0-053 616

本文通过一个具体的例子解释了如何使用Oracle的闪回版本查询功能来查找特定时间段内表中数据的变化情况,并详细分析了查询结果中不同行的含义。
(616)The EMP table has some discrepancy in data entry with a particular employee ID.

You execute the query as shown in the Exhibit to retrieve all versions of the row that exist between two SCNs.View the Exhibit.

Which two statements about the results of the query shown in the Exhibit are correct?(Choose two.)

Exhibit:


A. The LAST_SCN value in the first row is NULL,which means that the versions of the row still exist at SCN 6636300.

B. The LAST_SCN value in the second row in NULL,which means that the version of the row still exists at SCN 6636300.

C. The LAST_SCN value in the third row is 6636280,which means that the version of row exists above SCN 6636280.

D. The LAST_SCN value in the second row is NULL,which means that the version of the row no longer exists because it was deleted.

答案:(A、D)

解析:

闪回版本查询用来找到在两个时间点(SCN)之前表到底发生了什么事情。

A,因为第一行的first_scn是做insert操作,而last_scn是空的,意味着该行还存在

D,从图上看出第三行first_scn=6636252的时候insert了一行,ename等于”Jones”,但是其存在的生命周期在 last_scn=6636280 就结束了,

    为什么结束了,看第二行scn 6636280做了一个delete操作

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17013648/viewspace-1327955/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/17013648/viewspace-1327955/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值