Monday, October 24, 2016

Query Shortcuts in SQL Server Management Studio


we can create shorcuts in SQL Management Studio. Some of the shortcuts are predefined,

Examples

"Alt + F1" will execute "sp_help"

"Ctrl + 1" will execute "sp_who".

You can create new shortcuts for your own queries

Go to Sql Server Management Studio

Tools --> Options ---> Environment ---> Keyboard ---> Query Shortcuts


For example, you can create a shortcut for:
Syntax
"Ctrl + 3 " : SELECT * FROM  (single space after from keyword)
Use just the  table name in new query and press "ctrl + 3" and query will executed.





No comments:

Post a Comment

Thank you for visiting my blog

Kubernetes

Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...