View previous topic :: View next topic
|
Author |
Message |
prabs2006
Active User
Joined: 12 Jan 2006 Posts: 103
|
|
|
|
Hi,
When I run the following SQL statement
EXPLAIN PLAN SET QUERYNO = 100 FOR
SELECT * FROM TABLE;
it says
MYID.PLAN_TABLE doesn't exist.
The creator for PLAN_TABLE is something WGH.
How can I run the EXPLAn query pointing to existing PLAN_TABLE? |
|
Back to top |
|
|
vini_srcna
Active User
Joined: 26 May 2005 Posts: 178 Location: Copenhagen, Denmark
|
|
|
|
Yes, you need to be the owner of a plan table to explain the access strategies.
Check if you have the required privieges to use the existing plan table.
SET CURRENT SQLID = 'WGH';
EXPLAIN PLAN SET QUERYNO = 100 FOR
SELECT * FROM TABLE; |
|
Back to top |
|
|
|