ITPub博客

首页 > 数据库 > Oracle > Oracle10g的Flashback version Query

Oracle10g的Flashback version Query

原创 Oracle 作者:xsb 时间:2007-09-27 11:52:30 0 删除 编辑

http://www.eygle.com/archives/2005/03/oracle10gaeflas.html

SELECT versions_starttime, versions_endtime, versions_xid, versions_operation, a.*
FROM system_config versions BETWEEN TIMESTAMP minvalue AND maxvalue a
WHERE config_key = '***';

SELECT versions_starttime, versions_endtime, versions_xid, versions_operation, a.*
FROM system_config versions BETWEEN TIMESTAMP SYSDATE-10/24/60 AND SYSDATE a
WHERE config_key = '***'
ORDER BY nvl(versions_starttime,SYSDATE-999);

[@more@]

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

请登录后发表评论 登录
全部评论
  • 博文量
    66
  • 访问量
    3082275