2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

37
my/mv_m_refreshlog.sql Normal file
View File

@@ -0,0 +1,37 @@
@@myheader.sql
/************************************
* INPUT PARAMETERS
************************************/
DEFINE owner="&&1"
DEFINE table="&&2"
PROMPT
PROMPT *************************************************
PROMPT * Registerd napshots on MASTER site
PROMPT *
PROMPT * Input Parameters
PROMPT * - owner = '&&owner'
PROMPT * - table = '&&table'
PROMPT *************************************************
set lines 256
col mowner for a15
col master for a25
col snapname for a30
col snapsite for a30
col snaptime for a30
select
r.name snapname, snapid, nvl(r.snapshot_site, 'not registered') snapsite, snaptime
from
sys.slog$ s, dba_registered_snapshots r
where
s.snapid=r.snapshot_id(+) and mowner like '&&owner' and master like '&&table';
@@myfooter.sql