SQL SERVER – 2005 Query Analyzer – Microsoft SQL SERVER Management Studio

Following may be very simple to some and helpful to other type of question. I have seen this in my server log as well as this has been always first question in my Developer Team. It is about finding the old Query Analyzer in SQL Server 2005.

Where is SQL SERVER 2005 Query Analyzer?
SQL SERVER 2005 has combined Query Analyzer and Enterprise Manager into one Microsoft SQL SERVER Management Studio (MSSMS). To see the familiour Query Analyzer Window follow the image below.

Click New Query button in SQL Server Management Studio.

Moving From Query Analyzer to Management Studio

If you spent years in the old tool, Management Studio can feel crowded at first. The good news is that the query window works almost the same way. Click New Query, pick a database from the list, type, and press F5 to run.

A few things that help the move:

  • Object Explorer on the left takes over from the old object browser and from most of Enterprise Manager. Right click almost anything to script it.
  • Ctrl+T switches results to text and Ctrl+D brings back the grid, just as before.
  • Ctrl+R hides the results pane so you have more room for code.
  • Registered Servers keeps your list of servers in one place, so you do not type names each time.

Management Studio also lets you open many query windows as tabs, each with its own connection, and save execution plans as .sqlplan files to share with a colleague. Once those habits settle in, most people do not miss the old tool.

Many old habits still work in the query window. F5 and Ctrl+E run the code, Ctrl+L shows the estimated plan, and highlighting part of a script runs only that part. Your old .sql files open without any change, since they are plain text. If a script uses commands from SQL Server 2000, run it on a test server first: the editor opens anything, but the server decides what still works.

Today Management Studio is a free, separate download from Microsoft, and it works with many versions of SQL Server. Keep it updated, because new releases fix bugs and add support for the newest features.

Published by Pinal Dave on SQLAuthority. More of my work at pinaldave.com.

SQL Server Management Studio, SQL Utility
Previous Post
SQL SERVER – Query to Find Seed Values, Increment Values and Current Identity Column value of the table
Next Post
SQL SERVER – 2005 Collation Explanation and Translation

Related Posts

43 Comments. Leave new

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.