Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Management Studio - Shortcut for entering Dates?

In SSMS, when editing a row of data in a table, you can press Ctrl+0 to enter a null in the current cell. Is there any shortcut for entering the current date in a cell?

like image 386
Randy Minder Avatar asked Jan 26 '10 21:01

Randy Minder


People also ask

What is Ctrl L in SQL Server?

Typing CTRL+L executes either the selected text in the Query Editor window (or all the statements in the window if nothing is selected) and displays the execution plan. 2 comments. Rich Text Editor, edit-comment-body-91079.

What does Alt F1 do in SQL Server?

ALT + F1 (Select any stored procedure on query editor and press ALT + F1) : It runs the sp_help system stored procedure. CTRL + 1: In the same way, it runs the sp_who system stored procedure. It will provide you the details like who created the SP, spid, host name, on which DB the SP was created and so on.

How do I add a shortcut key to SQL Server Management Studio?

SSMS allows you specify a keyboard shortcut using Ctrl + # using numbers 0-9, as well as Ctrl + F1 . You then assign ANY string you want to that shortcut, and simply use it in any active query window. There's one additional thing to know here…SSMS will also run anything you have highlighted along with it.


1 Answers

This page http://msdn.microsoft.com/en-us/library/ms175917.aspx has the shortcut documentation for the SQL Table Editor.

Under "Results Pane" it specifies the available shortcuts including "Enter null into a cell: CTRL+0". There are no other shortcuts listed that would do what you wish, so I would say you're out of luck with any easy out of the box trick.

like image 172
eddiegroves Avatar answered Oct 18 '22 16:10

eddiegroves