Toad World® Forums

Creating new code snippets

Hello.

I’ve used Toad for Oracle more than 6 years ago and forget, how to create code snippets.

Now I want to create snippet in Toad for SQL Server:

select *

from | with(nolock)

I want to force snippet to place cursor after from statement - I tried to use “|” for it, but it doesn’t work, as expected - after code snippet was placed in editor, result is same, as in Code Snippet Editor and cursor was not placed to position of “|”:

select *

from | with(nolock)

I use Toad for SQL Server 6.7.0.176.

I remembered, that in old time I was able to add cursor position and parameters in code snippets.

How to correctly define cursor position and parameters in this new version (for me) of Toad?

Thank you!