SQL Server Management Studio (SSMS) keyboard shortcuts

SQL Server Management Studio (SSMS)  

defkey.com -
3 years ago
- Shortcuts
0
Alt

Move to the SQL Server Management Studio menu bar

0
Alt + +

Activate the menu for a tool component

0
↑   Shift + F10

Display the context menu

0
Ctrl + N

Display the New File dialog box to create a file

0
Ctrl + ↑   Shift + N

Display the New Project dialog box to create a new project

0
Ctrl + O

Display the Open File dialog box to open an existing file

0
Ctrl + ↑   Shift + G

Display the Open File dialog box to open an existing file

0
Ctrl + ↑   Shift + O

Display the Open Project dialog box to open an existing project

0
Ctrl + ↑   Shift + A

Display the Add New Item dialog box to add a new file to the current project

0
↑   Shift + Alt + A

Display the Add Existing Item dialog box to add an existing file to the current project

0
Ctrl + ↑   Shift + Q

Display the Query Designer

0
Esc

Close a menu or dialog box, canceling the action

0
Ctrl + F4

Close the current MDI child window

0
Esc

Close a menu or dialog box, cancels an operation in progress, or focuses on the current document window

0
Ctrl + P

Print

0
Alt + F4

Exit

0
↑   Shift + Alt + ⤶ Enter

Toggle full screen mode

0
↑   Shift + Esc

Close the current tool window

0
Ctrl + F6

Cycle through the next MDI child windows

0
Ctrl + ⭾ Tab

Display the IDE navigator with the first document window selected

0
Ctrl + ↑   Shift + ⭾ Tab

Cycle through the previous MDI child windows

0
Ctrl + F2

Moves the insertion point to the drop-down bar located at the top of the code editor when the editor is in Code view or Server Code view

0
↑   Shift + Alt

Move to the current tool window toolbar

0
Alt + F7

Display the IDE navigator with the first tool window selected

0
Alt + F6

Move to the next tool window

0
F6

(in the Database Engine Query Editor)  Move to the next tool window

0
↑   Shift + Alt + F7

Move to the previous tool window

0
F6

Move to the next pane of a split pane view of a single document

0
↑   Shift + Alt + F6

Move to the previously selected window

0
↑   Shift + F6

(in the Database Engine Query Editor) Move to the next pane of a split pane view of a single document

0
↑   Shift + F6

Move to the previous pane of a split pane view of a single document

0
Alt + -

Display the dock menu

0
Ctrl + Alt +

Display a popup listing all open windows

0
Ctrl + O

Opens a new query editor window

0
F8

Display Object Explorer

0
Ctrl + Alt + G

Display Registered Servers

0
Ctrl + Alt + T

Display Template Explorer

0
Ctrl + Alt + L

Display Solution Explorer

0
F7

Display the Summary Window

0
F4

Display the Properties Window

0
Ctrl + Alt + O

Display the Output window

0
Ctrl + \

then T: Display the Task List window

0
Ctrl + \

then Ctrl + T: Display the Task List window

0
F6

Toggle between Object Explorer Details list view and Object Explorer Details property pane

0
⭾ Tab

then UP arrow or DOWN arrow:  Control the splitter bar that separates the Object Explorer Details list view and Object Explorer Details property pane to adjust the size of the display pane

0
Ctrl + Alt + X

Display the Toolbox

0
Ctrl + K

then Ctrl + W: Display the Bookmarks Window

0
Ctrl + Alt + R

Display the Browser Window

0
↑   Shift + Alt + F10

Display a smart tag menu of common commands for Web server controls in the HTML designer

0
Ctrl + \

then Ctrl + E  Display the Error List Window (Transact-SQL Editor only)

0
Ctrl + \

E Display a smart tag menu of common commands for Web server controls in the HTML designer

0
Ctrl + \

then E   Display the Error List Window (Transact-SQL Editor only)

0
Ctrl + ↑   Shift + F12

Move to the next entry in the Error List window (Transact-SQL Editor only)

0
Alt +

Display the previous page in the viewing history. Available only in the Web browser window

0
Alt +

Display the next page in the viewing history. Available only in the Web browser window

0

Move the cursor left

0

Move the cursor right

0

Move the cursor up

0

Move the cursor down

0
Home

Move the cursor to the beginning of the line

0
End

Move the cursor to the end of the line

0
Ctrl + Home

Move the cursor to the beginning of the document

0
Ctrl + End

Move the cursor to the end of the document

0
Page Up

Move the cursor up one screen

0
Page Down

Move the cursor down one screen

0
Ctrl +

Moves the cursor one word to the right

0
Ctrl +

Moves the cursor one word to the left

0
↑   Shift + F8

Returns the cursor to the last item

0
Ctrl + Page Up

Moves the cursor to the top of the document

0
Ctrl + Page Up

Moves to the previous tab in the document

0
Ctrl + Page Down

Moves the cursor to the bottom of the document

0
Ctrl + Page Down

Moves to the next tab in the document

0
Ctrl + ↑   Shift + Home

Select text from the cursor to the beginning of the document

0
Ctrl + ↑   Shift + End

Select text from the cursor to the end of the document

0
↑   Shift + Home

Select text from the cursor to the start of the current line

0
↑   Shift + Alt + Home

Moves the cursor to the start of the current line and extends the column selection

0
↑   Shift + End

Select text from the cursor to the end of the current line

0
↑   Shift + Alt + End

Moves the cursor to the end of the line, extending the column selection

0
↑   Shift +

Select text down line by line starting from the cursor

Note: I'm not sure if below shortcut is correct. It's listed in Microsoft's documents. Please let me know in comments if you know the correct one.
0
↑   Shift + Ctrl + Del

Moves the cursor down one line, extending the column selection

0
↑   Shift +

Moves the cursor one character to the left and extends the selection

0
↑   Shift + Alt +

Moves the cursor one character to the left and extends the column selection

0
↑   Shift +

Moves the cursor one character to the right and extends the selection

0
↑   Shift + Alt +

Moves the cursor one character to the right and extends the column selection

0
↑   Shift +

Select text up line by line starting from the cursor

0
↑   Shift + Alt +

Move the cursor up one line, extending the selection

0
Shift + Page Up

Extend selection up one page

0
Shift + Page Down

Extend selection down one page

0
Ctrl + A

Select the entire current document

0
Ctrl + W

Select the word containing the cursor, or the closest word

0
Ctrl + =

Select the current location in the editor, back to the previous location in the editor

0
Ctrl + Shift + Page Up

Extend the selection to the top of the current window

0
Ctrl + Shift + Page Down

Move the cursor to the last line in view, extending the selection

0
Ctrl + ↑   Shift +

Extend the selection one word to the right

0
Ctrl + ↑   Shift +

Extend the selection one word to the left

0
Ctrl + ↑   Shift + Alt +

Move the cursor to the right one word, extending the selection

0
Ctrl + ↑   Shift + Alt +

Move the cursor to the left one word, extending the selection

0
Ctrl + ↑   Shift + ]

Move the cursor to the next brace, extending the selection

0
Ctrl + =

Select the text from the current location of the cursor to the Navigate Backward (Ctrl + -) location

0
Ctrl + -

Go back to the previous document or window in the navigation history

0
Ctrl + ↑   Shift + -

Go forward to the next document or window in the navigation history

0
Ctrl + K

then Ctrl + A: Swaps the anchor and end points of the current selection

0
Ctrl + Shift + Page Up

Moves the cursor to the first line in view, extending the selection

0
Ctrl + Shift + Page Down

Moves the cursor to the last line in view, extending the selection

0
Ctrl + K

then Ctrl + K: Set or remove a bookmark at the current line

0
Ctrl + K

then Ctrl + N  Next bookmark

0
Ctrl + ↑   Shift + K

then Ctrl + Shift + N: If the current bookmark is in a folder, moves to the next bookmark in the folder. Bookmarks outside the folder are skipped. If the bookmark is not in a folder, moves to the next bookmark at the same level. If the Bookmarks window contains folder, bookmarks in folders are skipped

0
Ctrl + K

then Ctrl + P:  Previous bookmark

0
Ctrl + ↑   Shift + K

then Ctrl + Shift + P:  If the current bookmark is in a folder, moves to the next bookmark in the folder. Bookmarks outside the folder are skipped.  If the bookmark is not in a folder, moves to the next bookmark at the same level. If the Bookmarks window contains folder, bookmarks in folders are skipped.

0
Ctrl + K

then Ctrl + L: Clear bookmarks

0
-

(on the numeric keypad) Collapse tree nodes

0
*

(on the numeric keypad) Expand all tree nodes

0
Ctrl +

Scroll the tree control up in the window

0
Ctrl +

Scroll the tree control down in the window

0
↑   Shift + Alt + ⤶ Enter

Toggle the full-screen display

0
Ctrl +

Scroll text up one line

0
Ctrl +

Scroll text down one line

0
Ctrl + Z

Reverse the last editing action

0
or Alt + ⬅ Backspace
0
Ctrl + ↑   Shift + Z

Restore the previously undone edit

0
or Ctrl + Y
0
or Alt + ↑   Shift + ⬅ Backspace
0
Ctrl + S

Save the selected item

0
Ctrl + ↑   Shift + S

Save all

0
Ctrl + F4

Close

0
Ctrl + P

Print

0
Alt + F4

Exit

0
Ctrl + ↑   Shift + W

Open the current file in a browser

0
Ctrl + ↑   Shift + Del

Delete all text in the current file

0
Ctrl + G

Display the Go To Line dialog box

0
Ctrl + +

Display the Navigate To dialog box.

0
⭾ Tab

Increase line indent

0
↑   Shift + ⭾ Tab

Decrease line indent

0
Ctrl + ↑   Shift + U

Make the selected text upper case

0
Ctrl + U

Make the selected text lower case

0
Ctrl + K

then Ctrl + C:  Make the selected text a comment

0
Ctrl + K

then Ctrl + U:  Uncomment the selected text

0
Ctrl + N

Open a new query with current connection

0
Alt + F8

Open database in Object Explorer

0
Ctrl + ↑   Shift + M

Specify values for template parameters

0
F5

Run the selected portion of the query editor or the entire query editor if nothing is selected

0
or Ctrl + ↑   Shift + E
0
Ctrl + F5

Parse the selected portion of the query editor or the entire query editor if nothing is selected

0
Ctrl + ↑   Shift + Alt + L

Display the estimated execution plan

0
Alt + Break

Cancel the executing query

0
Ctrl + ↑   Shift + Alt + M

Include actual execution plan in the query output

0
Ctrl + ↑   Shift + D

Output results in a grid

0
Ctrl + T

Output results in text format

0
Ctrl + ↑   Shift + T

Output results to a file

0
Ctrl + R

Show or hide the query results pane

0
Ctrl + ↑   Shift + Alt + R

Show the query results pane

0
F6

Toggle between query and results pane

0
Ctrl + ↑   Shift + C

Copy the result grid and headers to the clipboard

0
Alt + F6

Move to the next active window in Management Studio

0
Ctrl + Alt + P

Open SQL Server Profiler

0
Ctrl + ↑   Shift + Q

Display the Query Designer dialog from the query editor window

0
Alt + F1

Run the sp_help system stored procedure

0
Ctrl + 1

Run the sp_who system stored procedure

0
Ctrl + 2

Run the sp_lock system stored procedure

0
Ctrl + 3

Run the stored procedure configured for this shortcut in the Tools, Options, Keyboard, Query Shortcuts dialog

0
or Ctrl + 4
0
or Ctrl + 5
0
or Ctrl + 6
0
or Ctrl + 7
0
or Ctrl + 7
0
or Ctrl + 8
0
or Ctrl + 9
0
or Ctrl + 0
0
⤶ Enter

Insert a new line

0
or ↑   Shift + ⤶ Enter
0
Ctrl + T

Swap the characters on either side of the cursor (Does not apply to the SQL Editor)

0
Del

Delete one character to the right of the cursor

0
⬅ Backspace

Delete one character to the left of the cursor

0
or ↑   Shift + ⬅ Backspace
0
Ctrl + K

then C: Delete whitespace in the selection, or deletes whitespace adjacent to the cursor if there is no selection

0
⭾ Tab

Insert the number of spaces configured for the editor

0
Ctrl + ⤶ Enter

Insert a blank line above the cursor

0
Ctrl + ↑   Shift + ⤶ Enter

Insert a blank line below the cursor

0
Ctrl + ↑   Shift + L

Change the selected text to lowercase

0
Ctrl + ↑   Shift + U

Change the selected text to uppercase

0
Insert

Toggle between insert mode and overtype mode

0
↑   Shift + ⭾ Tab

Move selected lines to the left on tab stop

0
Ctrl + Del

Delete the word to the right of the cursor

0
Ctrl + ⬅ Backspace

Delete the word to the left of the cursor

0
Ctrl + ↑   Shift + T

Transpose the words on either side of the cursor (Does not apply to the SQL Editor)

0
↑   Shift + Alt + T

Moves the line containing the cursor below the next line

0
Ctrl + K

then Ctrl + D: Applies the indenting and space formatting for the language specified on the Formatting pane of the language in the Text Editor section of the Options dialog. Available only in the text editor

0
Ctrl + K then Ctrl + F

Correctly indents the selected lines of code based on the surrounding lines of code

0
Ctrl + K then Ctrl + H

Set or remove a shortcut in the current line

0
Ctrl + K then Ctrl + U

Remove the comment syntax from the current line

0
Ctrl + R then Ctrl + W

Shows or hides spaces and tabs

0
Alt + F then Ctrl + W

Enables or disables word wrap in an editor

0
Ctrl + M then Ctrl + A

Collapses all outlining regions to show just the outermost groups in the hierarchy

0
Ctrl + M then Ctrl + S

Collapses the currently selected outlining region

0
Ctrl + M then Ctrl + X

Expands all outlining regions on the page

0
Ctrl + M then Ctrl + E

Expands the currently selected outlining region

0
Ctrl + M then Ctrl + O

Collapses existing outlining regions

0
Ctrl + M then Ctrl + H

Hides the selected text. A signal icon marks the location of the hidden text

0
Ctrl + M then Ctrl + L

Toggles all text sections previously marked as hidden between the hidden and display states

0
Ctrl + M then Ctrl + M

Toggles the currently selected hidden text section between the hidden and display states

0
Ctrl + M then Ctrl + P

Removes all outlining information in the document

0
Ctrl + M then Ctrl + U

Removes the outlining information for the currently selected region

0
Alt + F5

Start or continue debugging

0
↑   Shift + F5

Stop debugging

0
F11

Step into

0
F10

Step over

0
↑   Shift + F11

Step out

0
↑   Shift + Alt + F11

Step into specific statement

0
Ctrl + 3

Set next statement

0
Alt + Num Lock

Show next statement

0
Ctrl + F10

Implement the Run To Cursor command

0
Ctrl + Alt + Q

Display the QuickWatch dialog box

0
or ↑   Shift + F9
0
F9

Toggle breakpoint

0
Ctrl + F9

Enable breakpoint

0
Alt + F9 then D

D Delete the breakpoint. Only available in the Breakpoints window

0
Alt + F9 then L

L Open the Edit breakpoint labels dialog. Only available in the Breakpoints window

0
Ctrl + ↑   Shift + F9

Delete all breakpoints

0
Ctrl + Alt + B

Display the Breakpoints window

0
Ctrl + Alt + Break

Break all

0
Ctrl + B

Break at function

0
Ctrl + Alt + W then 1

Display the Watch 1 window

0
Ctrl + Alt + W then 2

Display the Watch 2 window

0
Ctrl + Alt + W then 3

Display the Watch 3 window

0
Ctrl + Alt + W then 4

Display the Watch 4 window

0
Ctrl + Alt + V then A

Display the Autos window

0
Ctrl + Alt + V then L

Display the Locals window

0
Ctrl + Alt + I

Display the Immediate window

0
Ctrl + Alt + C

Display the Call Stack window

0
Ctrl + Alt + H

Display the Threads window

0
Ctrl + ↑   Shift + D then S

Display the Parallel Stacks window

0
Ctrl + ↑   Shift + D then K

Display the Parallel Tasks window

0
Ctrl + J

List members

0
Ctrl + Space

Complete word

0
or Alt +
0
Ctrl + K then Ctrl + I

Display quick information

0
Ctrl + ↑   Shift + Space

Display parameter information

0
Ctrl + ↑   Shift + Alt + C

Copy parameter tip

0
Ctrl + ↑   Shift + Alt + P

Paste parameter tip

0
Ctrl + ]

Jump between syntax pairs

0
Ctrl + K then Ctrl + X

Launch code snippet picker

0
Ctrl + ↑   Shift + R

Refresh local cache

0
Ctrl + K then Ctrl + S

Launch Surround With snippet picker

0
Ctrl + K then Ctrl + B

Display the Code Snippet Manager

0
Alt + +

Changes the IntelliSense filter level from the Common tab to the All tab

0
Alt + .

Changes the IntelliSense filter level from the All tab to the Common tab

0
↑   Shift + Alt + ⤶ Enter

Toggle full-screen mode

0
F6

Move to the next pane of a split pane view of a document

0
Ctrl + ↑   Shift + F6

Move to the previous document in the editor or designer

0
or Ctrl + ↑   Shift + ⭾ Tab
0
↑   Shift + F6

Move to the previous pane of a document in split pane view

0
Alt +

Back, display the previous page in the viewing history

0
Alt +

Forward, display the next page in the viewing history

0
Esc

Closes a menu or dialog box, cancels an operation in progress, or places focus in the current window

0
Ctrl + Alt + L

Display Solution Explorer

0
Ctrl + N

Display the New File dialog box to create a new file

0
Ctrl + ↑   Shift + N

Display the New Project dialog box to create a new project

0
Ctrl + O

Display the Open File dialog box to open an existing file

0
F2

Change the name of the selected object

0
F1

Help

0
or ↑   Shift + F1
0
Ctrl + F1

Display SQL Server Books Online

0
Ctrl + Alt + F1

Open the Help Library Manager

0
Ctrl + Alt + F2

Display the SQL Server Resource Center Web page

0
↑   Shift + F1

Display help for the current editor window

0
Ctrl + F

Display the Find dialog box

0
F12

Displays the definition for the selected symbol

0
↑   Shift + F12

Displays the list of references for the selected symbol

0
Ctrl + H

Display the Replace dialog box

0
Ctrl + I

Start incremental search. Type the characters to search for or press Ctrl + I to search for characters from the previous search

0
F3

Find the next occurrence of the previous search text

0
↑   Shift + F3

Find the previous occurrence of the search text

0
Ctrl + F3

Find the next occurrence of the currently selected text

0
Ctrl + ↑   Shift + F3

Find the previous occurrence of the currently selected text

0
Ctrl + ↑   Shift + H

Display the Replace in Files dialog box

0
Ctrl + ↑   Shift + I

Reverse incremental search so it starts at the bottom of the file and searches to the top

0
Alt + F3 then B

Select or clear the Search up option in Find and Replace

0
Alt + F3 then S

Stop the Find in Files search

0
Alt + F3 then W

Select or clear the Find whole word option in Find and Replace

0
Alt + F3 then P

Select or clears the Wildcard option in Find and Replace

0
Ctrl + /

Place the caret in the Find/Command box of the Standard toolbar

0
Ctrl + X

Cut (delete the currently selected item and place it to the Clipboard)

0
or ↑   Shift + Del
0
Ctrl + L

Cuts all of the selected lines, or the current line if nothing is selected

0
or Ctrl + ↑   Shift + L
0
Ctrl + C

Copy to the Clipboard

0
or Ctrl + Insert
0
Ctrl + V

Paste from the Clipboard at the insertion point

0
or ↑   Shift + Insert
0
Ctrl + ↑   Shift + V

Pastes an item from the Clipboard Ring at the insertion point and automatically selects the pasted item

0
or Ctrl + ↑   Shift + Insert
0
CTRLl + Alt + A

Launches Activity Monitor

0
Ctrl + F4

Closes Activity Monitor