You can view the query optimizer's execution plan for an SQL
statement in the Plan Viewer window in Interactive SQL.
- Type your query in the SQL Statements pane. 
 
- Select  or press Shift+F5. 
 The Plan Viewer appears in a separate window. Your specified
query appears in the SQL pane. 
  
- Click Get Plan to generate a plan for the specified
query. 
 
- Choose . 
 
- Click Open. 
 
- Select a plan file (.saplan), and then click Open.