oracle 閃回查詢
C:\Documents and Settings\Paul Yi>sqlplus "/as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Thu Feb 21 10:53:55 2008
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
SQL> select * from test;
no rows selected
SQL> insert into test values(100);
1 row created.
SQL> commit;
Commit complete.
SQL> select dbms_flashback.get_system_change_number SCN from dual;
SCN
----------
3251266
SQL> update test set id=200;
1 row updated.
SQL> update test set id=300;
1 row updated.
SQL> update test set id=400;
1 row updated.
SQL> update test set id=500;
1 row updated.
SQL> commit;
Commit complete.
SQL> select id from test;
ID
----------
500
SQL> select dbms_flashback.get_system_change_number SCN from dual;
SCN
----------
3251287
--回到原來狀態
SQL> select id from test as of scn 3251266
2 ;
ID
----------
100
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-179722/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle閃回查詢Oracle
- oracle的閃回查詢Oracle
- oracle的回閃查詢Oracle
- 閃回查詢之閃回版本查詢
- 閃回查詢之閃回表查詢
- Oracle閃回查詢,閃回版本查詢與閃回事務查詢的使用區別總結Oracle
- 【閃回特性之閃回查詢】使用閃回查詢(select as of)
- 閃回表、閃回查詢
- Oracle 11G 閃回技術 閃回版本查詢和閃回事務查詢Oracle
- Oracle 11G 閃回技術 使用Oracle閃回查詢Oracle
- 閃回查詢
- 閃回(關於閃回查詢)
- 閃回刪除、閃回查詢
- oracle閃回版本查詢學習Oracle
- Oracle 11g 閃回查詢Oracle
- 基本閃回查詢和閃回表
- 閃回技術一:閃回查詢
- Oracle 11G 閃回技術 使用閃回版本查詢Oracle
- 閃回版本查詢與閃回事務查詢
- 閃回查詢(轉)
- 閃回查詢(1)
- Oracle 11g 閃回版本查詢Oracle
- DM7閃回與閃回查詢
- oracle flashback特性(1.2)--閃回查詢之As of scnOracle
- Oracle 10g的閃回查詢概述Oracle 10g
- Flashback Query閃回查詢
- 閃回查詢(undo sql)SQL
- 閃回版本查詢操作
- Oracle 11G 閃回技術 使用Oracle閃回事務查詢Oracle
- [閃回特性之閃回版本查詢]Flashback Version Query
- oracle flashback特性(1.1)--閃回查詢之As of timestampOracle
- oracle flashback特性(1.4)--閃回查詢之Transaction queryOracle
- 學習Oracle10g:閃回版本查詢Oracle
- DM8 閃回查詢
- 閃回版本查詢技術:
- 回閃查詢查詢刪除的資料
- Oracle資料庫的閃回查詢功能簡介Oracle資料庫
- Oracle閃回查詢恢復delete刪除資料Oracledelete