Skip to content

Commit b5e6e75

Browse files
authored
Create report-for-developers.sql
1 parent 5ac41c6 commit b5e6e75

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
REM Script: report-for-developers.sql
2+
REM DBMS_SQLTUNE for database developers
3+
4+
-- DBMS_SQLTUNE contains the REPORT_SQL_MONITOR and REPORT_SQL_MONITOR_LIST functions
5+
-- list last monitored statement excuted by the user with REPORT_SQL_MONITOR
6+
-- enter value for type (e.g. TEXT, HTML, ACTIVE)
7+
-- please use the proposed SQL*Plus formats
8+
9+
set trimspool on
10+
set trim on
11+
set pagesize 0
12+
set linesize 32767
13+
set long 1000000
14+
set longchunksize 1000000
15+
16+
SELECT dbms_sqltune.report_sql_monitor(type => '&type') FROM dual;

0 commit comments

Comments
 (0)