User Tools

Site Tools


dba:oracle:howtos:howto_flashback_query

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
dba:oracle:howto_flashback_query [2022/02/11 11:12] – ↷ Page moved from oracle:howto_flashback_query to dba:oracle:howto_flashback_query dodgerdba:oracle:howtos:howto_flashback_query [2023/01/31 08:26] – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== [HOWTO] Flashback query ====== 
- 
-This document only exists to write the SQL sentences explainded by burleson here: [[http://www.dba-oracle.com/t_rman_149_flasbback_query.htm]] 
-\\ 
-But formatted and not as he uses to write with numbers or in-completion that will make the query unusable ... (fu***ng stupid).  
-\\ 
-So here we go: 
-<code sql> 
-SELECT * FROM SCHEMA.TABLE 
-as of timestamp to_timestamp('23-03-2020 11:00:00','dd-mm-yyyy hh24:mi:ss') 
-WHERE SOME_FIELD LIKE 'SOME FILTER' 
-/ 
-</code> 
-\\ 
- 
-What you have to know is that the ''as of timestamp'' must follow the ''from'' and before ''where'' sentence. 
-\\ 
-cheers! 
  
dba/oracle/howtos/howto_flashback_query.txt · Last modified: 2023/01/31 08:26 by dodger