Using SSMS Templates

Templates provide a framework for the creation of database objects in SSMS. They are essentially boilerplate files that help generate scripts for common database objects. They can speed up the development of these scripts and help enforce consistency in the generation of the underlying database objects.

The Template Browser is a component window available in SSMS that can be launched by selecting Template Browser from the View menu. Figure 3.25 shows the Template Browser and a portion of the available SQL Server template folders. Separate templates also exist for Analysis Services. You can view them by selecting the related icon at the top of the Template Browser.

FIGURE 3.25 The SSMS Template Browser.

You access the ...

Get Microsoft SQL Server 2014 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.