Optional. Select the Interactive or Script
radio button. The default is Interactive mode.
Optional. To automatically create an access plan whenever an
explainable statement is executed, select Script->Options.
The Command Center Options notebook opens. Click on the Access Plan
tab. Select the Automatically
generate access plan check box, and click on OK.
On the Script page, do the following:
Connect to a database. (Type the connect command in the text area
and select Script->Execute, or click on the
icon, or press the Ctrl+Enter keys to execute it.)
Type an explainable statement in the text area or select from an existing
statement. Note: In Interactive mode, each
statement must end with a semi-colon (;), except the last statement.
To create an access plan without executing the statement, select
Script->Create access plan or click on the
icon. The access plan graph is displayed on the Access Plan
page.
To create an access plan and also execute the statement: select
Script->Execute or click on the
icon. The results are displayed on the Results page. If
Automatically generate access plan is enabled, click on the Access
plan tab to see the access plan graph. Otherwise, select
Script->Create access plan or click on the
icon. The access plan graph is displayed on the Access Plan
page.