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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: select the view is ok, but when using "explain plan" throws error ora-01031

Re: select the view is ok, but when using "explain plan" throws error ora-01031

From: Hemant K Chitale <hkchital_at_singnet.com.sg>
Date: Mon, 28 Aug 2006 20:16:26 +0800
Message-Id: <7.0.1.0.0.20060828201529.01b1cd88@singnet.com.sg>

The error probably relates to the PLAN_TABLE. Do you have a PLAN_TABLE in your account (the account running the query) ? Create one with $ORACLE_HOME/rdbms/admin/utlxplan.sql

Hemant
At 10:34 AM Monday, qihua wu wrote:
>When I select the data from a view, I can get the result. But When
>I want to get the execution plan of the sql using
> explain plan for select * from other_schema.v_the_view
> (the view is from another schema)
>It throws error ora-01031 insufficient privileges.
>

Hemant K Chitale
http://web.singnet.com.sg/~hkchital

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Aug 28 2006 - 07:16:26 CDT

Original text of this message

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