Wayne Sheffield’s been busy since our last visit. Here are six more SSMS tips and tricks.
First, Wayne shows how to create keyboard shortcuts for common activities. Then, he shows how to color-code SQL Server instances, which is very helpful when trying to avoid accidental deployments to prod.
Next up he shows off the template explorer:
To use any of the templates, just double-click them. This template will be opened up in a new query window, ready for you to change.
You can also change the templates themselves. Just right-click on the template, and select “Edit”. The template will be opened up, and changes that you make will be saved to the template definition itself.
Finally, you can create your own templates. Right-click the root folder (SQL Server Templates), and you can select to create a new folder or template.
Templates are quite helpful when you commonly run the same bits of code. Speaking of the same bits of code, Wayne next shows how to use Snippets.