Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

SQLStudies

My name is Kenneth Fisher and I am Senior DBA for a large (multi-national) insurance company. I have been working with databases for over 20 years starting with Clarion and Foxpro. I’ve been working with SQL Server for 12 years but have only really started “studying” the subject for the last 3. I don’t have any real "specialities" but I enjoy trouble shooting and teaching. Thus far I’ve earned by MCITP Database Administrator 2008, MCTS Database Administrator 2005, and MCTS Database Developer 2008. I’m currently studying for my MCITP Database Developer 2008 and should start in on the 2012 exams next year. My blog is at www.sqlstudies.com.

Dragging a name from the object explorer to a query window

In the same vein as Steve Jones’ series on Customizing SSMS this is a fairly basic trick, but one that not everyone appears to know.

A fairly standard layout of SSMS looks like this.

SSMS_Drag_From_Object_Explorer

If you drill down, to say the table list, you can left-click and drag a table name from the object explorer to the query window. For long object names this can be a real life saver!

SSMS_Drag_From_Object_Explorer2

This trick will work with almost every object name in object explorer. One notable exception is the instance name. I have no idea why and I could wish that Microsoft would eliminate this exception in the future as it would have come in very handy on more than one occasion. In the mean time the ability to drag and drop the name of a Table, Column, Constraint, Index, Stored Procedure, Function, Login, or even a Job (to name just a few objects) has come in very handy time and time again.


Filed under: Microsoft SQL Server, SQLServerPedia Syndication, SSMS Tagged: microsoft sql server, SSMS, Steve Jones

Comments

Leave a comment on the original post [sqlstudies.com, opens in a new window]

Loading comments...