By: Greg Robidoux | Last Updated: 2007-05-16 | Comments | SQL Server Management Studio
Trying to remember all of the object names, parameters and columns within tables becomes quite daunting for very large data models. This is where GUI tools such as Enterprise Manager and SQL Server Management Studio provided a big boost to the database market for SQL Server. The ability to do most of your work through a graphical interface versus having to do everything command line makes users much more productive and some time consuming tasks can be done with a point and click. There are several areas where these graphical tools have made a big impact on who is and who can use SQL Server. One feature that is often difficult is writing T-SQL statements for your databases. Trying to remember the exact names of the tables, the columns, the stored procedure parameters is not always that easy. So what can be done to ease this process?
Luckily some of these features are built-in to the tools that Microsoft offers. In Query Analyzer for SQL Server 2000 there is the Object Browser and in SQL Server 2005 Management Studio there is the Object Explorer. These tools allow you to see all of the contents of your databases including tables, views, stored procedure parameters, etc...
To view the Object Browser or Object Explorer you can use the "F8" key.
SQL Server 2000
SQL Server 2005
The nice thing about the object browser and explorer is that you can view the contents of your database. The tables, views, columns, etc...
An even better feature of these tools is the ability to drag and drop the values that are shown into your query windows so you do not need to retype the table names, columns names, etc....
To do this, just select the value that is shown in the object explorer or object browser and then drag it into the query window. This can be done for any item that is listed in the object explorer or object browser.
Take a look at this quick video that shows you how this is done: PLAY VIDEO
- Although this is a simple and quick tip, if you are not already using this functionality this could save you a lot of wasted key strokes
- Take a look at some these other time saving tips:
Last Updated: 2007-05-16
About the author
View all my tips