2026-03-12 20:23:15
This commit is contained in:
35
my/sqlmon_rep.sql
Normal file
35
my/sqlmon_rep.sql
Normal file
@@ -0,0 +1,35 @@
|
||||
@@myheader.sql
|
||||
|
||||
set long 10000000 longchunksize 10000000 pages 0
|
||||
|
||||
/************************************
|
||||
* INPUT PARAMETERS
|
||||
************************************/
|
||||
UNDEFINE rid
|
||||
UNDEFINE type
|
||||
|
||||
DEFINE rid="&&1"
|
||||
DEFINE type="&&2"
|
||||
|
||||
COLUMN _type NEW_VALUE type NOPRINT
|
||||
|
||||
set term off
|
||||
SELECT
|
||||
DECODE('&&type','','TEXT',UPPER('&&type')) "_type"
|
||||
FROM DUAL;
|
||||
set term on
|
||||
|
||||
PROMPT
|
||||
PROMPT ***********************************************************************
|
||||
PROMPT * SINGLE STATS OPERATION DETAIL
|
||||
PROMPT *
|
||||
PROMPT * Input Parameters
|
||||
PROMPT * - report id = '&&rid'
|
||||
PROMPT * - type = '&&type'
|
||||
PROMPT ***********************************************************************
|
||||
|
||||
|
||||
select dbms_auto_report.report_repository_detail(rid => &&rid, type => '&&type')
|
||||
from dual;
|
||||
|
||||
@@myfooter.sql
|
||||
Reference in New Issue
Block a user