| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Newbie trace question
<oratune_at_aol.com> wrote in message news:8stepl$20n$1_at_nnrp1.deja.com...
> In article <8ssrcq$7kv$1_at_bob.news.rcn.net>,
> "Steve Long" <steven.long_at_erols.com> wrote:
> > To enable the SQL trace facility for your session, issue the following
> > statement:
> >
> > ALTER SESSION
> > SET SQL_TRACE = TRUE;
> >
> > "CUJimmy" <public_at_asd-group.com> wrote in message
> > news:8ss9e2$6lt$1_at_nnrp1.deja.com...
> > > How can I turn on tracing on an Oracle 8i server so I can see the
SQL
> > > commands issued by a client program (the only one running) for
which I
> > > dont have the source?
> > >
> > > TIA
> > >
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> >
> >
>
>
What I would be tempted to suggest is using DBMS_UTILITY.SET_SQL_TRACE_IN_SESSION , this avoids bouncing the instance, and also the problem of forgetting to switch sql_trace off again. Once bitten twice shy
-- Niall Litchfield Oracle DBA Audit Commission UKReceived on Mon Oct 23 2000 - 04:22:29 CDT
![]() |
![]() |