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: SET AUTOTRACE ON -- weird error?

Re: SET AUTOTRACE ON -- weird error?

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Tue, 04 Jan 2000 08:45:27 -0500
Message-ID: <83u37sg2lq5bf63n6hf6q2pgic2enb6qeb@4ax.com>


A copy of this was sent to john v <johnvue_at_gte.net> (if that email address didn't require changing) On Tue, 04 Jan 2000 05:26:50 GMT, you wrote:

>Anyone know why I get the following error when trying to enable
>AUTOTRACE?
>
>The PLAN_TABLE does exist so that's not the problem.
>
>
>SQL> set autotrace on
>Error while connecting
>Error enabling STATISTICS report

In addition to what others have said (check to make sure plustrace is granted), beware that this won't work in 8.1.5 and less with OPS$ (OS identified accounts) until 8.1.6 (its a bug). Also, if you alter your password in your session BEFORE you set autotrace on -- you'll see this error as well (same issue as with OPS$ accounts)

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Tue Jan 04 2000 - 07:45:27 CST

Original text of this message

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