Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSSQL Server Management Studio (SSMS) 2005 New Query Template

How do I change a default "New Query" template in SSMS 2005?

like image 492
roman m Avatar asked Feb 27 '09 00:02

roman m


1 Answers

Posted this question as a reference, I did some googling, and found a simple way of doing it.

All you need to do is to edit SQLFile.sql located here: <%= your SQL install dir %>\90\Tools\Binn\VSShell\Common7\IDE\SqlWorkbenchProjectItems\SQL\SQLFile.sql

Also, Ctrl+Alt+T will show you all the other templates in SSMS; and check out Free SQL Server tools while you're at it.

like image 103
roman m Avatar answered Oct 03 '22 08:10

roman m