Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Autotrace
Walter T Rejuney wrote:
>
> I just tried to set autotrace on in an 8i Release 2 datatabe and here is
> what I got when I am logged into a user account.
>
> SQL> set autotrace on;
> SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is
> enabled
> SP2-0611: Error enabling STATISTICS report
>
> What do I have do to make this work. If I log in as SYSTEM it works
> fine. How to I enable the PLUSTRACE role?
In $ORACLE_HOME/sqlplus/admin there is a pupbld.sql which creates the role - grant it to public and you're away.
HTH
-- =========================================== Connor McDonald http://www.oracledba.co.uk We are born naked, wet and hungry...then things get worseReceived on Mon Jul 10 2000 - 00:00:00 CDT
![]() |
![]() |