10046 trace not being enable...
i have been trying to enable a 10046 trace thru toad and i dont get what i am doing wrong..i get the below error when i run this in toad or any other thrid party tool...
alter session set tracefile_identifier='test_look';
exec dbms_support.start_trace_in_session( -
sid => 527, -
serial# => 6515, -
waits => true, -
binds => true);
select * from scott.emp;
select ename from scott.emp;
-- To turn off the tracing:
exec dbms_support.stop_trace_in_session(
sid => 527, -
serial# => 6515);
BEGIN dbms_support.start_trace_in_session(
sid => 527,
serial# => 6515,
waits => true,
binds => true); END;
Error at line 4
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_SUPPORT.START_TRACE_IN_SESSION' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
or is there any other way that i can get this done easily for my session ?? so i can take a look at the trace file later...thanks...
database is on 10.2.0.3
Edited by: user630084 on Mar 31, 2009 6:36 AM