Oracle 11g 閃回版本查詢
--多次對40號部門進行修改 scott@TESTDB11>update dept set loc = 'LocE' where deptno = 40;
1 row updated.
scott@TESTDB11>commit;
Commit complete.
scott@TESTDB11>update dept set loc = 'LocF' where deptno = 40;
1 row updated.
scott@TESTDB11>commit;
Commit complete.
scott@TESTDB11>update dept set loc = 'LocG' where deptno = 40;
1 row updated.
scott@TESTDB11>commit;
Commit complete.
--閃回版本查詢 scott@TESTDB11>select * from dept 2 versions between timestamp (systimestamp - interval '15' minute) and maxvalue;
DEPTNO DNAME LOC ---------- -------------- ------------- 40 OPERATIONS LocG 40 OPERATIONS LocF 40 OPERATIONS LocE 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS LocD
7 rows selected.
--只檢視40號部門的變化 scott@TESTDB11>select * from dept 2 versions between timestamp (systimestamp - interval '15' minute) and maxvalue 3 where deptno = 40;
DEPTNO DNAME LOC ---------- -------------- ------------- 40 OPERATIONS LocG 40 OPERATIONS LocF 40 OPERATIONS LocE 40 OPERATIONS LocD |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17013648/viewspace-1153859/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11G 閃回技術 閃回版本查詢和閃回事務查詢Oracle
- Oracle 11G 閃回技術 使用閃回版本查詢Oracle
- 閃回查詢之閃回版本查詢
- Oracle 11g 閃回查詢Oracle
- Oracle 11G 閃回技術 使用Oracle閃回查詢Oracle
- oracle閃回版本查詢學習Oracle
- Oracle閃回查詢,閃回版本查詢與閃回事務查詢的使用區別總結Oracle
- 閃回版本查詢與閃回事務查詢
- 閃回版本查詢操作
- oracle閃回查詢Oracle
- oracle 閃回查詢Oracle
- Oracle 11G 閃回技術 使用Oracle閃回事務查詢Oracle
- 閃回版本查詢技術:
- 學習Oracle10g:閃回版本查詢Oracle
- [閃回特性之閃回版本查詢]Flashback Version Query
- oracle的閃回查詢Oracle
- oracle的回閃查詢Oracle
- 閃回查詢之閃回表查詢
- 閃回版本查詢(Flashback Version Query)
- Oracle Database 10g新特性-閃回版本查詢OracleDatabase
- 【閃回特性之閃回查詢】使用閃回查詢(select as of)
- 閃回表、閃回查詢
- 【備份恢復】閃回技術之閃回版本查詢
- 聊聊閃回版本查詢Flashback Version Query
- 閃回查詢
- 閃回(關於閃回查詢)
- 閃回刪除、閃回查詢
- 10g新特性——閃回版本查詢
- 基本閃回查詢和閃回表
- 閃回技術一:閃回查詢
- 閃回查詢(轉)
- 閃回查詢(1)
- DM7閃回與閃回查詢
- oracle flashback特性(1.2)--閃回查詢之As of scnOracle
- Oracle 10g的閃回查詢概述Oracle 10g
- Flashback Query閃回查詢
- 閃回查詢(undo sql)SQL
- Oracle 11g 閃回表Oracle