Use the Explain SQL Statement window to dynamically explain an SQL
statement and produce an access plan graph. If explain tables do not
exist, they will be created.
An explained statement record is added to the Explained Statements History
for all successful operations.
Fields and controls
Authorities and privileges

To dynamically explain an SQL statement:
- Open the Explain SQL Statement window.
- In the SQL text field, you can:
- Enter an SQL statement that you want explained
- Change the text of an SQL statement, which is already populated in the
text field.
- Use the Get push button to get an SQL
statement from a specified file.
- Use the Save push button to save the SQL
statement to a specified file.
- Optional. Either accept the defaults or enter new values for
Query number or Query tag fields.
- Optional. Either accept the default or select a different value for
Query optimization class.
- Optional. Select the Populate all
columns in Explain tables check box if you want all columns of
explain tables to be populated from the dynamic explain; otherwise, only the
few columns needed by Visual Explain are populated from the dynamic
explain.
- To dynamically explain the SQL statement, click on OK.

Related information