SQL Server Admin
T-SQL Articles

September 15, 2010

Save SQL Snippets in SQL Server Management Studio (SSMS)




My blog readers would probably know that I post a lot of T_SQL snippets and SQL Server Administration Snippets every now and then. One of my blog readers Kurth asked me if I store them in SSMS (SQL Server Management Studio) , for handy reference.

Thanks for asking this question Kurth. The answer is No, but I would love to store my snippets and here’s how using the SSMS Tools Pack created by SQL Server MVP Mladen Prajdić.

SSMS Tools Pack is an ‘excellent’ add-in for Microsoft SQL Server Management Studio (SSMS) 2005, 2008, 2008 R2 and their respective Express versions.

Assuming you have downloaded the Tool Pack, Open SSMS and check the Tool Bar for ‘SSMS Tool’

image

Go to SQL Snippets and feel free to use the snippets that come with it or add/import new ones.

For eg: check the ‘SST’ code snippet which automatically types the following for you

image

Go to the Query window, type SST and press Enter

SELECT  TOP 10 *
FROM

Way Cool and good work Mladen!


Did you like this post?
kick it on DotNetKicks.com
subscribe via rss subscribe via e-mail
print this post follow me on twitter



 
  Feedback:

comments

0 Responses to "Save SQL Snippets in SQL Server Management Studio (SSMS)"
 

Copyright © 2009-2011 All Rights Reserved for SQLServerCurry.com by Suprotim Agarwal | Terms and Conditions