Wednesday, May 4, 2011

Customize SSMS query window for standard comment block and frequently used commands

Problem


As a best practice, most companies follow a standard comment format at the beginning of stored procedures and functions. In addition, it is also a good idea to include comments in all scripts you write even if they are just save as .sql or .txt files.  Manually we often add a standard comment block to the header of our scripts using copy and paste, but in this tip we look at how to automate adding a standard comment block for every set of code we write using SSMS.

Solution


http://www.mssqltips.com/tip.asp?tip=2372

No comments:

Post a Comment