solving sql server problems for millions of dbas and developers since 2006



SQL Server DBA Tips SQL Server Developer Tips SQL Server Business Intelligence Tips SQL Server Career Tips SQL Server Tip Categories SQL Server Tutorials SQL Server Webcasts SQL Server Whitepapers SQL Server Tools SQL Server Questions and Answers MSSQLTips Authors About MSSQLTips SQL Server User Groups MSSLQTips Giveaways MSSQLTips Advertising Options

MSSQLTips Facebook Page MSSQLTips LinkedIn Page MSSQLTips RSS Feed MSSQLTips Twitter Page MSSQLTips Google+ Page

SQL Product Highlight

Devart - dbForge SQL Complete

dbForge SQL Complete is a code autocomplete tool for SQL Server Management Studio and Visual Studio. Free and advanced paid editions of this useful add-in offer powerful autocompletion and formatting of T-SQL code that replaces native Microsoft T-SQL Intellisense.

Learn more!








Using Object Explorer Details and Object Search Feature of SSMS 2008

By: | Read Comments (1) | Print

Ashish has been contributing to the MSSQLTips.com community since 2009 with over 60 tips.

Related Tips: More

Problem
While looking through the new features and improvements in SQL Server 2008 Management Studio (SSMS) we found a potentially interesting one called Object Explorer Details. Database Developers and Administrators can use Object Explorer Details to get a lot of useful information about the object which they have selected in Object Explorer. In this tip I will give you a detailed explanation of how you can use the Object Explorer Details.

Solution
In SQL Server 2008 Management Studio, the Object Explorer Details is a very useful tool when compared to the one which was available in SQL Server 2005. You can use this tool to get detailed information about any object which you have chosen in Object Explorer. You can open up an Object Explorer Details window by either pressing the F7 key or by selecting the “Object Explorer Details” option from the "View" menu as shown in the snippet below.

You can see in the below snippet that when the Database node is selected in object explorer, I get a variety of useful information with respect to all of the databases which are available in this particular instance of SQL Server 2008. The information includes the Database Recovery Model, Compatibility Level, Collation, Owner, Size of Database (MB), Data Space Used (KB), Index Space Used (KB), Space Available (KB) etc. The good thing about this tool is that you can also use this against your SQL Server 2005 instances to see all of this information when you connect to a SQL Server 2005 instance using SQL Server 2008 Management Studio.

By default, when you open up the Object Explorer Details window you can see five different columns with valuable data. However, this tool supports about 36 different columns. Based on your requirement you can choose any or all columns which are useful to you. You can add new columns by right clicking any one of the column headings and then select the column of interest from the drop down list as shown in the snippet below. One nice feature is that you can even sort any of the rows and can move them in any order you prefer.


Overview of Object Search

Object Search is a very interesting feature which is integrated within the Object Explorer Details window. Let's say if you want to search for all the objects which start or end with a name “Addr”, then you can type in the search criteria in the text box and press enter to display the search results as shown in the snippet below.

If you want to search for an object in all the databases then you need to select the Database Node in the Object Explorer window and then provide the name of the object in the text box which needs to be searched for. Once the search has completed you can right click the object which you want to access and then click the Synchronize option from the popup menu to go directly to the location of the object.

Next Steps

  • Next time you need to do some object level searching or investigation, be sure to consider this tip.
  • SQL Server 2008 Management Studio has a number of new features, be sure to check them out.
  • Learn more about SQL Server 2008 by reading these tips.


Related Tips: More | Become a paid author


Last Update: 2/4/2010

Share: Share 






Comments and Feedback:

Tuesday, February 21, 2012 - 11:49:23 AM - Terry Smith Read The Tip

I'm getting error:  Search failed:  Failed to retrieve data for this request

when I focus on all Databases on a server, nothing is returned; only when I go lower to a specific database does the search work



Post a Comment or Question

Keep it clean and stay on the subject or we may delete your comment.
Your email address is not published. Required fields are marked with an asterisk (*)

*Name   *Email   Notify for updates
Comments
*Enter Code refresh code


 
Sponsor Information
Try the free performance monitoring tool from Idera!

Quickly and accurately deploy database changes with Red Gate's SQL Compare - the industry standard comparison and deployment tool.

SQL Servers keeping you up at night? Contact the Edgewood SQL Server DBAs for a Health Check. Prices start at $995.

Get SQL Server Tips Straight from Kevin Kline.

Solving SQL Server problems for millions of DBAs and Devs since 2006. Join now.

Valuable SQL Server web casts on Performance Tuning, Development, Administration, SSIS and more...


Copyright (c) 2006-2012 Edgewood Solutions, LLC All rights reserved
privacy | disclaimer | copyright | advertise | about
authors | contribute | feedback | giveaways | user groups
Some names and products listed are the registered trademarks of their respective owners.


Edgewood Solutions LLC | MSSharePointTips.com | MSSQLTips.com