2026-03-12 20:23:15
This commit is contained in:
16
vdh/Edit.005
Normal file
16
vdh/Edit.005
Normal file
@@ -0,0 +1,16 @@
|
||||
select *
|
||||
from ( select bad.thread#, bad.sequence#, bad.next_change#, to_char(bad.next_time, 'DD/MM/YYYY HH24:MI:SS') next_time
|
||||
from v$backup_archivelog_details bad
|
||||
where (thread#, sequence#) in
|
||||
( select bad2.thread#, max(bad2.sequence#) last_sequence#
|
||||
from v$backup_archivelog_details bad2
|
||||
group by bad2.thread#
|
||||
)
|
||||
and resetlogs_time =
|
||||
( select resetlogs_time
|
||||
from v$database_incarnation
|
||||
where status = 'CURRENT'
|
||||
)
|
||||
order by bad.next_change#
|
||||
)
|
||||
where rownum = 1;
|
||||
Reference in New Issue
Block a user