Friend :

I did it :

as sys :

design:sys> create role plustrace;

Role created.

design:sys> grant select on v_$sesstat to plustrace;

Grant succeeded.

design:sys> grant select on v_$statname to plustrace;

Grant succeeded.

design:sys> grant select on v_$session to plustrace;

Grant succeeded.

design:sys> grant plustrace to dba with admin option;

Grant succeeded.


>>>Running the set command :

design:scott> set autotrace on explain statistics
And received the message :

Cannot find the Session Identifier.  Check PLUSTRACE role is enabled
Error enabling STATISTICS report

Scott doesn´t have a DBA grant
If I do it for a user with DBA grant it works correctly.

What is happening ?

Eriovaldo do Carmo Andrietta
Widesoft Sistemas Ltda.

----- Original Message -----
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 1:10 AM


> give in full..
> set autotrace on explain statistics
>
> it will do .
> ----- Original Message -----
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> Sent: Wednesday, February 14, 2001 9:00 PM
>
>
> Friends :
>
> I have created the table Plantable on the schema and tryed the command
> bellow .
> I received the error message but it works the plan of execution.
>
> What can I do for don´t receive this error message ?
>
> sql > set autotrace on
> Unable to verify PLAN_TABLE format or existence
> Error enabling EXPLAIN report
> Cannot find the Session Identifier.  Check PLUSTRACE role is enabled
> Error enabling STATISTICS report
>
> Thanks
>
> Eriovaldo do Carmo Andrietta
> Widesoft Sistemas Ltda.
> Limeira/SP - Brasil
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Eriovaldo do Carmo Andrietta
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Saurabh Sharma
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Eriovaldo do Carmo Andrietta
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to