|
|
|
| Re: Running Explain Plan in Toad [message #318592 is a reply to message #318576 ] |
Wed, 07 May 2008 04:31   |
Michel Cadot Messages: 15244 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
If it is not in your rdbms/admin directory then it does not exist for your version.
Regards
Michel
|
|
|
|
| Re: Running Explain Plan in Toad [message #318599 is a reply to message #318547 ] |
Wed, 07 May 2008 04:41   |
msmallya Messages: 30 Registered: March 2008 Location: AHMEDABAD, GUJARAT |
Member |
|
|
First confirm you are getting the explain plan output at
SQL*Plus Prompt.
SQL> set autotr ( here you can press return to see the syntax)
sql>set autotrace on explain
sql>select sysdate from dual;
You need to create plan_table to store explain plan (utlxplan.sql)
explain plan set statement_id='XXX' for
select sysdate from dual;
Then you can acess plan_table for statement_id='XXX' or oracle supplied utlxplp.sql
Regards,
MSMallya
[Updated on: Wed, 07 May 2008 04:55]
|
|
|
|
|
|