Keyboard shortcuts for SQL Server Management Studio (SSMS)

Here are some useful keyboard shortcuts for SQL Server Management Studio (SSMS) that can enhance your productivity:

  1. General Shortcuts:
    • Ctrl + N: New Query Window.
    • Ctrl + O: Open File.
    • Ctrl + S: Save File.
    • Ctrl + F4: Close Active Tab.
    • Ctrl + Shift + N: New Solution.
  2. Query Editor Shortcuts:
    • Ctrl + R: Toggle the Results pane.
    • Ctrl + D: Toggle the Object Explorer.
    • Ctrl + Shift + L: Toggle the Solution Explorer.
    • Ctrl + U: Change the query output to results in a grid.
    • Ctrl + T: Display the Results in Text mode.
    • Ctrl + L: Display the estimated execution plan.
    • Ctrl + M: Switch to the Execution Plan.
    • Ctrl + 1: Switch to the Design pane in SSMS.
    • Ctrl + 2: Switch to the Query Editor pane in SSMS.
  3. Execution Shortcuts:
    • F5: Execute the query.
    • Ctrl + E: Execute the query with the estimated execution plan.
    • Ctrl + Shift + E: Include the actual execution plan.
  4. Navigation Shortcuts:
    • Ctrl + Tab: Cycle through open tabs.
    • Ctrl + Shift + Tab: Cycle backward through open tabs.
    • Alt + Left Arrow: Navigate back in the query history.
    • Alt + Right Arrow: Navigate forward in the query history.
    • F12: Jump to the definition of an object.
    • Ctrl + ,: Navigate to a specific line in the script.
  5. Object Explorer Shortcuts:
    • F7: Toggle the Object Explorer.
    • F8: Object Explorer Details.
    • Ctrl + Alt + G: Toggle the Registered Servers pane.
    • Ctrl + Alt + H: Toggle the Solution Explorer.

These shortcuts can save you time and make your SQL Server management tasks more efficient. 

Leave a Reply

Your email address will not be published. Required fields are marked *