Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Cannot Set Trace
It certainly does work in 8.1.7. As proof, I offer:
SVRMGR> select * from v$version;
BANNER
SVRMGR> select sid, serial#, username from v$session; SID SERIAL# USERNAME
---------- ---------- ------------------------------ 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 18 DBSNMP 9 206 SYS 11 1198 SCOTT
SVRMGR> execute sys.dbms_system.set_sql_trace_in_session(11,1198,TRUE) Statement processed.
...And that session then did start producing trace files, in the directory the user_dump_dest parameter was pointing to.
What makes you say it doesn't work?
Regards
HJR
-- Resources for Oracle: http://www.hjrdba.com =============================== "Mladen Gogala" <mgogala_at_earthlink.net> wrote in message news:pan.2001.11.24.14.29.22.641.1224_at_earthlink.net...Received on Sat Nov 24 2001 - 14:58:25 CST
> In article <26703915.0111240948.1ddb1da1_at_posting.google.com>, "s.kapitza"
> <skapitza_at_volcanomail.com> wrote:
>
> > hello,
> >
> > you could try also
> >
> > exec sys.dbms_system.set_sql_trace_in_session(<SID>,<SERIAL#>,true);
>
> Bad news. That doesn't work in 8.1.7. Thomas, is that a feature or an
> omission?
> --
> Mladen Gogala
![]() |
![]() |