While doing a lot of research at my work I keep writing generic scripts like "SELECT TOP 10 * FROM" etc.
Is there a way to for me to write something like a snippet so that when i type "ss" + Space/Tab it will insert the "SELECT TOP 10 * FROM" script?
I have a number of scripts that I've noticed i use a lot and i would like to create some aliases for them...
While you could create a code snippet, it is tiresome to select the snippet.
It still needs:
CTRL-K CTRL-X M <tab> S <tab>
to get:SELECT TOP 10 * FROM Table1
and being able to type the needed tablename.snippet:
Saven this to (i.e.) "select.snippet", and Import in SSMS under 'Tools/Code Snipper Manager'
It is unclear, to me, what the section
<Shortcut>select</Shortcut>
has for value ...According to next site, shortcuts is a "Won't Fix" back in 2013: https://dba.stackexchange.com/questions/166432/shortcuts-for-code-snippets