Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.