2026-03-12 20:23:15
This commit is contained in:
10
tpt/trace.sql
Normal file
10
tpt/trace.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
-- Copyright 2018 Tanel Poder. All rights reserved. More info at http://tanelpoder.com
|
||||
-- Licensed under the Apache License, Version 2.0. See LICENSE.txt for terms & conditions.
|
||||
|
||||
select
|
||||
'exec dbms_monitor.session_trace_enable('||sid||','||serial#||',waits=>true,binds=>true);' command_to_run
|
||||
from
|
||||
v$session
|
||||
where
|
||||
&1
|
||||
/
|
||||
Reference in New Issue
Block a user