SSMS Tips and Tricks 3-14: Using snippets
Have you ever started to create an object using T-SQL in SQL Server, and thought what’s the right syntax for this?
I’ve worked with SQL Server since 1992 (version 4.2) and yet almost every time I go to create a function, I have to spend a few moments thinking about what the correct syntax is, because there are different types of functions (scalar vs table-valued, inline vs multi-statement).
SSMS has had templates for a long time, and they are useful. In fact, a few days ago, I wrote about how you can create your own.
2025-07-24