Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In MS SSQL Server Management Studio 2012, is it possible to get new scripts to contain some default text?

I want to encourage colleagues to comment their scripts more consistently, so I'd like something like

/*
Describe the contents of the script here.
Author: myloginname
*/

to automatically appear when you hit CTRL+N.

share|improve this question

Looks like you may be able to.

This article mentions some options and gives details of where the text is stored for specific templates.

Try looking in:

C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\Sql
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .