How can we help you today? How can we help you today?

How about $PASTE$ to paste current clipboard into snippet

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
DaveB
0

Comments

1 comment

Add comment

Please sign in to leave a comment.