explain Plan

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thescript786
    New Member
    • Nov 2007
    • 3

    explain Plan

    Hi,

    I am new to DB2. I am using DB2 V8.1 how to find cost of a query?
    In dB2 Is there is any similar command like explain plan in oracle?

    Thanks in Advance,
    Karthick
  • nearestniladri
    New Member
    • Nov 2007
    • 5

    #2
    If you are using DB2 8.1 then you need to follow the following steps:

    1. Go to Command Center
    2. Go to script tab.
    3. Write your SQL statement
    4. Then goto Script menu.
    5. Click on the option like Access Plan or generate access plan.

    Comment

    Working...