There are many tools out there some free and some not that offer a codesnippet facility.
For some reasons in the company I work for they dont want to install or buy any third party stuff.
I need to work with just sql server 2008.
Is there a way to modify the templates so that when you choose create new SP it loads the custom sp.
In a nutshell I would like to know either if I can have code snippets in sql server 2008 without using third party tool or how i can modify templates.
Any suggestions?
Thanks a lot
SQL Server Mangement Studio has always supported the use of templates that can serve as “snippets” – see the MSDN docs on how to use Templates.
This is built-in, free, no cost, no install – just use it. It’s quite useful to create your own set of scripts as custom templates for those that you use frequently.