x

SSMS Shortcut Keys

What is your favourite shortcut key for SSMS?

One shortcut per answer please

more ▼

asked Oct 15, 2009 at 09:03 AM in Default

thatismatt gravatar image

thatismatt ♦♦
210 7 8 9

Excellent question.
Nov 04, 2009 at 09:31 AM John Sansom
(comments are locked)
10|1200 characters needed characters left

24 answers: sort newest

ALT+X to execute batches, but I am trying to move to CTRL+E

However CTRL+K, CTRL+U or CTRL+K, CTRL+C for commenting/uncommenting are way up there for me as well.

more ▼

answered Oct 15, 2009 at 04:56 PM

Steve Jones - Editor gravatar image

Steve Jones - Editor ♦♦
5.1k 78 79 82

(comments are locked)
10|1200 characters needed characters left
One more: Ctrl-F2, when cursor is positioned on object name in sql editor -> will locate (focus) that object in Object Explorer. You will need SSMSBoost add-in for that.
more ▼

answered Mar 12, 2012 at 12:26 AM

Andrei gravatar image

Andrei
41 1

(comments are locked)
10|1200 characters needed characters left
In sql editor F2, when cursor is positioned on object name. That opens definition of the object (scripts it in new window). But you will need SSMSBoost add-in for that ( www.ssmsboost.com)
more ▼

answered Mar 12, 2012 at 12:23 AM

Andrei gravatar image

Andrei
41 1

(comments are locked)
10|1200 characters needed characters left
CTRL+U--->to locate the pointer to databases drop down list..
more ▼

answered Mar 16, 2011 at 02:08 AM

Manikreddy gravatar image

Manikreddy
414 24 26 28

(comments are locked)
10|1200 characters needed characters left
One of my favourites is CTRL + SHIFT + R to refresh the Intellisense
more ▼

answered Jun 28, 2010 at 09:14 AM

Håkan Winther gravatar image

Håkan Winther
15.6k 35 37 48

very useful, I didnt know you could refresh this! Thanks!
Apr 18, 2011 at 10:44 AM Slick84
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x127
x21
x5
x4
x1

asked: Oct 15, 2009 at 09:03 AM

Seen: 6208 times

Last Updated: Mar 12, 2012 at 12:26 AM