Once a Transact-SQL code snippet has been inserted into a script, you edit the contents of the snippet to build a complete Transact-SQL statement.
When you add a Transact-SQL snippet to your script, the inserted snippet statement has one or more replacement points, which are highlighted. If you rest your mouse pointer on a replacement point, a tooltip appears with a description of the syntax element you can specify. The Database Engine Query Editor recognizes the snippet as separate from the surrounding script until you close the source file. The replacement points remain active until you close the source file.
You can also add additional syntax elements to the template code inserted by a snippet. For example, the Create Table snippet template generates two column definitions; you must add additional column definitions to create a table with more than two columns.
Completing the Snippet Statement
Use the TAB key to move from one replacement point to the next. Use SHIFT+TAB to move to the previous replacement point.
Click CTRL+SPACE to invoke IntelliSense.
Select an item from the list, or type a replacement of your choice.