Shortcuts || SSMS
Hello,
Today’s
blog is going to be an interesting one. Many of us might be aware about SSMS shortcuts.
If not then please go through this blog. In this blog I am going to share which
shortcuts I often use and how we can have customized shortcuts.
In SSMS we
have many default shortcuts for quick actions and better interaction. I often use
below default shortcuts while working on SQL server.
Keys |
Action |
Alt+F1 |
Execute SP_HELP |
Ctrl+R |
Show/Hide query result |
Ctrl+M |
Include actual execution plan. |
Ctrl+L |
Display estimated execution plan. |
Shift+Alt+S |
Include client statistics |
Ctrl+K AND Ctrl+C |
Comment out selected line |
Ctrl+K AND Ctrl+U |
Uncomment selected line |
Apart from
this there are many shortcuts which we can use to add more fun. Please find
below URL for more shortcuts.
SQLServer Management Studio keyboard shortcuts - SQL Server Management Studio(SSMS) | Microsoft Docs
This is
about default shortcuts. Let’s see how we can create own customize query shortcuts.
Navigate to
Query Shortcut window as below to configure customized shortcuts for query
execution.
Go to Tools-->Environment-->Keyboard-->Query Shortcuts
Here we can see available query shortcuts. We can add SQL statements or Store procedure as a query shortcuts here.
Ex:
I have assigned CTRL+F1 to execute SP_HELPFILE.
Thank you.
Hi Deva will you please add version vise ssms shortcuts like we using ssms for ms SQL. If it's possible then great. Thank you for the good info.
ReplyDelete