Query shortcuts on SSMS 19

Nikhil 0 Reputation points
2023-07-20T09:22:56.3466667+00:00

I have recently upgraded to SSMS 19, After upgrading to it I have started facing difficulty in using custom query shortcuts. I tried to use Cntrl + 3 for select * from , But couldn't able to use it. could anyone please help me out on this

SQL Server Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2023-07-20T10:30:39.6333333+00:00

    I tried to use Cntrl + 3 for select * from

    That's not a default shortcut, but a user defined one. Have you imported your stting form old SSMS version?

    Menu "Tools" => "Import/Export settings"


  2. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2023-07-20T12:15:14.0966667+00:00

    When you install a new major-number version of SSMS, you can opt to import the settings from the older version. However, far from all settings are imported. I find that I have go through the settings each time, and change those that were no imported.

    I tested setting up a shortcut as you described in SSMS 19, and it worked. Note, though, that it only takes effect for new windows. Existing windows will not pick up the change.

    0 comments No comments

  3. LiHongMSFT-4306 31,566 Reputation points
    2023-07-21T02:49:54.44+00:00

    Hi @Nikhil

    Open SSMS, Go to Tools -> Options ->Environment -> Keyboard -> Query Shortcuts. And check if ctrl + 3 is defined as select * from.

    Try open a new query window or restart SSMS.

    Check if database or table name are selected correctly.

    Best regards,

    Cosmog Hong


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.