2026-03-12 20:23:15
This commit is contained in:
15
tpt/get_trace2.sql
Normal file
15
tpt/get_trace2.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
/*----------------------------------------------------------------------------------------------------------------------------
|
||||
Usage: get_trace2 <trace_file_name>
|
||||
----------------------------------------------------------------------------------------------------------------------------*/
|
||||
--on Windows
|
||||
--SPOOL %TEMP%/&1
|
||||
--on Mac
|
||||
SPOOL $TMPDIR/&1
|
||||
SELECT payload
|
||||
FROM GV$diag_trace_file_contents
|
||||
WHERE trace_filename = '&1'
|
||||
ORDER BY line_number;
|
||||
SPOOL OFF
|
||||
|
||||
Reference in New Issue
Block a user