2026-03-12 20:23:15
This commit is contained in:
9
vdh/get_last_recovery_scn_9i.sql
Normal file
9
vdh/get_last_recovery_scn_9i.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
select thread#, sequence#, next_change#, to_char(next_time, 'DD/MM/YYYY HH24:MI:SS') ntime
|
||||
from ( select thread#, sequence#, next_change#, next_time,
|
||||
row_number() over
|
||||
( partition by thread#
|
||||
order by sequence# desc
|
||||
) rn
|
||||
from v$backup_redolog
|
||||
)
|
||||
where rn = 1
|
||||
Reference in New Issue
Block a user