In SQL Server Enterprise Manager, on the Tools menu, click SQL Server Query Analyzer to run SQL Server Query Analyzer. With SQL Server Query Analyzer, users can interactively design and execute queries.
SQL Server Enterprise Manager also provides the Query Designer, a graphical (GUI) tool for designing queries used in specific objects:
The Query Designer window has four separate panes for specifying or displaying different items associated with a query.
Pane | Description |
---|---|
Diagram | Has a diagram showing the tables referenced in the query. The diagram shows all columns for each table and checks the columns used in the result set. |
SQL | Shows the syntax of the SQL statement. |
Grid | Shows the details of the result set columns, such as name, data type, and size. |
Results | Shows the result set returned by the last execution of the query. |
For more information on opening and hiding the panes, see How to open panes in the Query Designer (Enterprise Manager) and How to hide panes in the Query Designer (Enterprise Manager).