Just Code‎ > ‎

TSQL - Check if temp table exists, then drop it

posted Jul 5, 2011, 11:26 PM by Peter Henell
IF NOT OBJECT_ID('tempdb..#customer') IS NULL 
        DROP TABLE #customer
Comments