To capture a query from the SQL editor:
If the script contains more than one SQL statement, the workflow assistant for query tuning opens to the Capture SQL from SQL Editor page of the Capture section.
If the script contains only one SQL statement, the workflow assistant for query tuning opens to the Run All Single-Query Advisors and Analysis Tools page of the Invoke section. The statement appears in the Query Text field.
For help with
the Capture SQL from SQL Editor page or the Run All Single-Query
Advisors and Analysis Tools page,
click the Help icon (), or click in a portion of the page and type
F1.