5 DROP TSQL statements I can’t live without

TSQL DROPs for temp tables, procs, functions, SQLAgent jobs, synonyms

This is probably the most simple TSQL I will ever post.

However, it becomes useful more often than it would seem.

Many times I will write a script/proc or get someone else’s code which doesn’t do any checking or clean up.

Temp table drop TSQL

Stored procedure drop TSQL

Function DROP/CREATE TSQL

SQL Agent job drop TSQL

Leave a Comment