How about $PASTE$ to paste current clipboard into snippet
DaveB
Posts: 11
It would be useful to write a snippet that you could paste the contents of the clipboard into it. The contents might contain the name of an object (table, view) that needs to be entered based on the context. For example:
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'$PASTE$') AND type in (N'P', N'PC')) DROP PROCEDURE $PASTE$ GO
Comments
Please feel free to add your vote or if there is one already kindly vote for it:
http://redgate.uservoice.com/forums/944 ... uggestions
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com