Oracle9i,.10g 閃回查詢(flashback)

tolywang發表於2007-09-17

select * from table_name
as of timestamp to_timestamp('200709171130','yyyymmddhh24mi');

select * from table_name
as of timestamp to_timestamp('200709171130','yyyymmddhh24mi')
where ..... ;


select * from table_name
as of timestamp to_timestamp('200709171130','yyyymmddhh24mi');

現在不是太清楚的是閃回查詢9i下是查詢undo裡面的東西,是否還查詢這個table現在的資料,因為返回的不是更新的資料,而是整個table .

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-84899/,如需轉載,請註明出處,否則將追究法律責任。

相關文章