Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Microsoft SQL Server Keyboard Shortcuts
WhatsApp
Ashish Nakil
10y
15.6k
0
3
100
Article
The following are the Microsoft SQL Server keyboard shortcuts.
To Run Microsoft SQL Server:
Press Windows+R
Type ssms
Press the OK button
Control+G:
to go to the desired line number and display line number in the query editor window.
Go to Tools -> Options.
It will display numbers as in the following image.
For example:
Control+E:
Executes the query.
Select the query you want to execute and then press Control+E.
Control+L:
Cost Estimation.
Select the query you want to execute and then press Control+L.
For example:
Control+R:
Hide/show the Result Pane.
Control+N:
New Query Window.
Control+Shift+U:
Convert text to UPPERCASE.
Select the text you want to convert and then press Control+Shift+U.
Control+Shift+L:
Convert text to lowercase.
Select the text you want to convert and then press Control+Shift+L.
Control+Shift+Del:
Clears the active query window.
It clears the contents of the active window.
Control+U:
Use databse.
Press Control+U, then your mouse focus will go to the database dropdown as in the following.
For example:
And then you can use the up and down arrow keys or type the text to choose the database.
Control+T:
displayss the result in text format.
Press Control+T and then execute the query. It will show the result as follows.
For example:
Control + D:
To display the result in Grid format.
And to display the result in grid (default format) press Control+D and then execute the query.
Control+ Left/Right Arrow:
To move the cursor to the next word.
Control+Shift+ Left/Right Arrow:
To move and select the next word.
Alt+Shift+ Left/Right/Down Arrow:
To select the text that is usually not possible using the mouse as in the following.
For example:
Alt+F1
To view the table definition.
Select the table name and then press Alt+F1.
For example:
SQL keyboard Shortcuts
SQL Server
SQL Server shortcuts
Up Next
Ebook Download
View all
Basics of SQL Server
Read by 1.6k people
Download Now!
Learn
View all
Membership not found