SQL Server 2008 Management Studio Trick
January 22, 2009 at 12:57 pm (SQL Server 2008, SQLServerPedia Syndication, Tools) (management studio, SQL Server Management Studio, trick)
I just had a Tremors moment. “Everybody knows about ’em Earl, we just never told you.” Except that no one I showed it to has ever seen it before. So maybe this is something a little new.
I had a database selected in the Object Explorer window and I had the Object Explorer Details window open. I noticed a little icon at the bottom of the screen:
Then I saw that the bar above it was a moveable bar. So I moved it and saw this:
Whoa! So then I tried a table, HumanResources.Department from AdventureWorks2008:
Which caused me to check a procedure:
Each line has a little icon on the side that lets you copy it, line by line. It’s really just a way to display the basic properties about the object in a readily accessible format. It’s not going to change my life, or yours, but it sure is handy to know a quick way to access some basic information.
Aaron Bertrand said,
January 22, 2009 at 1:20 pm
F4 is also a lot more handy in SSMS these days than it used to be. My favorite is when you hit F4 after clicking on a node in a graphical execution plan. But it works for several other things as well, including tables, procedures, etc. And doesn’t make you keep object explorer details open (which causes some problems of its own, at least pre-CU3).
scarydba said,
January 22, 2009 at 1:37 pm
I know what you mean about explorer details. I only saw this because I had the window open for the first time in… I’m not sure, a long time.
I’m not getting consistent behavior on F4. It does work well in a diagram, but it’s not bringing anything up from the Object Explorer.
Aaron Bertrand said,
January 23, 2009 at 9:11 pm
Hmm you’re right about F4, where else do I remember that working? I thought for sure it was context sensitive to something that involved objects, or maybe that was just a Connect dream I had. I guess in a query window it is useful, it tells you things like when the query started, finished and elapsed time (even if it has already finished), and a bunch of details about the connection that aren’t available in the tab or status bar.
scarydba said,
January 23, 2009 at 11:13 pm
It’s also very handy dealing with execution plans.
RBarryYoung said,
January 25, 2009 at 8:25 am
Grant, do you have an RSS feed here somewhere? I cannot find it…
scarydba said,
January 26, 2009 at 7:51 am
I didn’t realize I was missing RSS until you pointed it out. I’ve put it up now. Hopefully it works.
Daniel said,
February 3, 2009 at 11:23 am
Nice trick, thank you for publishing it.