Skip to content

Commit 9e71287

Browse files
committed
Sun Sep 25 11:24:44 CDT 2016
1 parent ed044aa commit 9e71287

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

help.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,10 @@ WITH my_scripts AS
13761376
'SAP Parameter check for diff version like 102,112, 12' AS Description,
13771377
'no input needed' AS INPUT
13781378
FROM dual
1379+
UNION ALL SELECT 'how_far_back_flash' AS Script_Name,
1380+
'Check how far we could flashback to' AS Description,
1381+
'no input needed' AS INPUT
1382+
FROM dual
13791383
)
13801384
SELECT upper(script_name) AS "MY SCRIPT NAME",
13811385
upper(description) AS description,

how_far_back_flash.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
-- Check how far we could flashback to
2+
col oldest_flashback_scn for 99999999999999999999
3+
col oldest_flashback_time for a30
4+
select
5+
oldest_flashback_scn,
6+
to_char(oldest_flashback_time, 'DD-MM-YYYY HH24:MI:SS')
7+
from v$flashback_database_log;

0 commit comments

Comments
 (0)