Learn more about Toad for SQL Server
at Dell Software

Find solutions and downloads at the
Toad for SQL Server Support Portal

Toad for SQL Server 6.6

You are here: Edit SQL > Reuse SQL > Use Code Snippets > Insert Code Snippets

Insert Code Snippets

Code snippets are segments of reusable code that you can easily insert into a SQL statement when working in the Editor. You can also use code snippets to:

To insert a code snippet

  1. In the Editor, place the cursor where you want to insert the snippet, then do one of the following:

    Notes:

  2. Enter the parameter values.

    Tip: Press TAB or SHIFT+TAB to navigate between parameters.

  3. Press ENTER to exit the snippet.

To insert a Surround With code snippet

Select the block of text to surround in the Editor and do one of the following:

To search for a code snippet

  1. Select View | Code Snippets from the menu (CTRL+ALT+T)

  2. Enter the name (or partial name) of the snippet or a keyword for the snippet in the Search field. Press ENTER.

Tips:

 

Related Topics

Create Code Snippets 

About Editing SQL 

of