Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: no able to "set autotrace on" pls chk error

Re: no able to "set autotrace on" pls chk error

From: DA Morgan <damorgan_at_psoug.org>
Date: Sun, 14 May 2006 15:17:06 -0700
Message-ID: <1147645029.324292@bubbleator.drizzle.com>


peter wrote:
> SQL> create user dump identified by dump;
> User created.
>
> SQL> grant connect,resource to dump;
> Grant succeeded.
>
> SQL> conn dump/dump_at_y2j
> Connected.
> SQL> @c:\oracle\ora90\rdbms\admin\utlxplan.sql
> Table created.
>
> SQL> set autotrace on
> SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is
> enabled
> SP2-0611: Error enabling STATISTICS report
>
> I don't know how to solve this error pls help

A complete demo can be found in Morgan's Library at www.psoug.org under Autotrace.

The PLUSTRACE role is granted using $ORACLE_HOME/rdbms/admin/plustrce.sql.

PS: Very bad form to grant CONNECT and RESOURCE. Learn to use specific system and object privileges and/or create your own roles.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Sun May 14 2006 - 17:17:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US