You can use
sys.dbms_system.set_sql_trace_in_session(sid,serial#,true/false)
sid and serial# can be found in v$session using
select sid,serial#
from v$session
where audsid = userenv('sessionid');
Hope this helps
Gert
|
Results 1 to 2 of 2
Thread: Trigger to set trace on loginThreaded View
|
Click Here to Expand Forum to Full Width |