Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 44227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:37:09+00:00 2026-05-10T15:37:09+00:00

I used to work in a place where a common practice was to use

  • 0

I used to work in a place where a common practice was to use Pair Programming. I remember how many small things we could learn from each other when working together on the code. Picking up new shortcuts, code snippets etc. with time significantly improved our efficiency of writing code.

Since I started working with SQL Server I have been left on my own. The best habits I would normally pick from working together with other people which I cannot do now.

So here is the question:

  • What are you tips on efficiently writing TSQL code using SQL Server Management Studio?
  • Please keep the tips to 2 – 3 things/shortcuts that you think improve you speed of coding
  • Please stay within the scope of TSQL and SQL Server Management Studio 2005/2008 If the feature is specific to the version of Management Studio please indicate: e.g. “Works with SQL Server 2008 only’

EDIT:

I am afraid that I could have been misunderstood by some of you. I am not looking for tips for writing efficient TSQL code but rather for advice on how to efficiently use Management Studio to speed up the coding process itself.

The type of answers that I am looking for are:

  • use of templates,
  • keyboard-shortcuts,
  • use of IntelliSense plugins etc.

Basically those little things that make the coding experience a bit more efficient and pleasant.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:37:10+00:00Added an answer on May 10, 2026 at 3:37 pm

    community owned wiki Answer – feel free to edit or add comments:

    Keyboard Shortcuts

    • F5, CTRL + E or ALT + X – execute currently selected TSQL code
    • CTRL + R – show/hide Results Pane
    • CTRL + N – Open New Query Window
    • CTRL + L – Display query execution plan

    Editing Shortcuts

    • CTRL + K + C and CTRL + K + U – comment/uncomment selected block of code (suggested by Unsliced)
    • CTRL + SHIFT + U and CTRL + SHIFT + L – changes selected text to UPPER/lower case
    • SHIFT + ALT + Selecting text – select/cut/copy/paste a rectangular block of text

    Addons

    • Red Gate’s SQL Prompt – IntelliSense (suggested by Galwegian)
    • SQLinForm – formatting of TSQL (suggested by Galwegian)
    • Poor Man’s T-SQL Formatter – open-source formatting add-in

    Other Tips

    • Using comma prefix style (suggested by Cade Roux)
    • Using keyboard accelerators (suggested by kcrumley)

    Useful Links

    • SQL Server Management Studio Keyboard Shortcuts (full list)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At a place I used to work they typical response to any problem was
I have been trying to use a formula that is used to work out
I was advised a while ago that is was common place to use std::vector
I used to work with eclipse for nearly all the languages I need. I'm
I used to work with VWD and now I try to install the new
The company I used to work with has two developers working fulltime, and a
I'm used to work with Java where large amounts of examples are available. For
Back in the scripted ASP and ColdFusion days, I used to work on projects
Is there any reason why JQuery would not work when used in an ASPX
I've never used any of the .NET generics in my work, but I understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.