Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSMS Tricks


SSMS Tricks

Author
Message
Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)

Group: Administrators
Points: 36162 Visits: 18751
Comments posted to this topic are about the item SSMS Tricks

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Tom Garth
Tom Garth
Ten Centuries
Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)Ten Centuries (1K reputation)

Group: General Forum Members
Points: 1013 Visits: 1499
That is all pretty good stuff, and most, I didn't know.

I still use SQL Query Analyzer as my primary editing tool, and will continue to do so. I have even installed it to servers that have never seen SQL Server 2000. It's main limitation is it's inability to "Edit" (from the menu) an existing object, and that's not a real show stopper.

The functionality of the SSMS SQL editor has gone the wrong way in my opinion.

Annoyance #1: Double-click on a quoted or bracketed word, and the selection includes the quotes or brackets.

Annoyance #2: Ctrl-Left, Ctrl-Right movements don't jump a block of special characters (--), but hops them one by one.

If this is the "Old dog /New trick' thing, then so be it, but it's a great editor, and 'Start>>Run>>isqlw' is pretty firmly embedded in my memory. (:

Tom Garth

Tom Garth
Vertical Solutions

"There are three kinds of men. The one that learns by reading. The few who learn by observation. The rest of them have to pee on the electric fence for themselves." -- Will Rogers

Jim Foster
Jim Foster
SSC-Enthusiastic
SSC-Enthusiastic (184 reputation)SSC-Enthusiastic (184 reputation)SSC-Enthusiastic (184 reputation)SSC-Enthusiastic (184 reputation)SSC-Enthusiastic (184 reputation)SSC-Enthusiastic (184 reputation)SSC-Enthusiastic (184 reputation)SSC-Enthusiastic (184 reputation)

Group: General Forum Members
Points: 184 Visits: 43
Good article, but there is one thing. You seem to be implying that using -nosplash makes SSMS start faster. If you actually time it (I did before I posted this) it starts in the same amount of time regardless of the setting (3 seconds on my box). If a splash screen is implemented correctly, it never slows down the start up of the application, it just gives the user something to look at when they start up the app so they have immediate feedback and don't try starting the app again because they think "did I start that?"

OK, with that said, I suppose if you have some killer machine and your SSMS starts almost instantly with –nosplash and slower without using –nosplash that may mean that Microsoft put in a minimum time to show the splash screen so the splash would not flash.

Thanks,
Jim
Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)

Group: Administrators
Points: 36162 Visits: 18751
I definitely agree with you on SSMS. I tend to use QA unless I need to see an existing object. I like quick, lightweight stuff.

Jim,

you are correct and if I implied that, I did not mean to. It doesn't start quicker, just doesn't show the splash screen.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Carl Federl
Carl Federl
SSCrazy
SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)SSCrazy (2.3K reputation)

Group: General Forum Members
Points: 2340 Visits: 4349
FYI: SQL Server 2008 SSMS starts much faster than 2005. An initial open takes about 9 seconds versus about 45 seconds for SSMS 2005 and a second open about 2 seconds. Computer is 1.6Ghz with 1GB of memory.

SQL = Scarcely Qualifies as a Language
TF-245998
TF-245998
Grasshopper
Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)Grasshopper (23 reputation)

Group: General Forum Members
Points: 23 Visits: 62
Good article. Reminds me of a gripe I have about MS, though. In Enterprise Manager, using external tools, you could open explorer on the server where you had an open session of SQL Server - with Command = C:\\Windows\\explorer.exe (location of explorer on your desktop) & Parameter = "\\[SRV]\C$". Very handy, also works for server manager & event viewer, with the \\[SRV] parameter. Doesn't work any more with External Tools using Management Studio. BOL says it should work, but it doesn't.
Neelakandan V-453229
Neelakandan V-453229
Old Hand
Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)Old Hand (327 reputation)

Group: General Forum Members
Points: 327 Visits: 220
Excellent article. All simple but effective tips.

Warm Regards,
Neel aka Vijay.
Jeff Moden
Jeff Moden
SSC-Forever
SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)SSC-Forever (45K reputation)

Group: General Forum Members
Points: 45147 Visits: 39923
!! DIR C:\Temp


Not real sure I'm happy about THAT working because the following also works...

!! DEL C:\Temp\some file name

Great article of tips, Steve... thanks.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
Although they tell us that they want it real bad, our primary goal is to ensure that we dont actually give it to them that way.
Although change is inevitable, change for the better is not.
Just because you can do something in PowerShell, doesnt mean you should. Wink

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Ian Crandell
Ian Crandell
SSC Veteran
SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)SSC Veteran (275 reputation)

Group: General Forum Members
Points: 275 Visits: 1093
Steve Jones - Editor (12/24/2007)
I definitely agree with you on SSMS. I tend to use QA unless I need to see an existing object. I like quick, lightweight stuff.

Steve,

Great article - a lot of good tips. What are the advantages to using QA over SSMS? Are there any other limitations besides the one you mentioned? In my role, I may not use either of them as extensively to see a difference.

Ian.

"If you are going through hell, keep going."
-- Winston Churchill
Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)

Group: Administrators
Points: 36162 Visits: 18751
The only advantage for QA that I've seen is that it's quick and starts immediately. I don't need to spend time waiting on SSMS to start up, eat system resources, and shut down to get a query done. QA can start up and have me enter a password in 5 sec.

Other than running a quick query, QA doesn't allow me to work with SS2K5 servers (see objects, edit them ,etc.

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search