• Seems like a nifty trick but I prefer the old fashioned way:

    IF OBJECT_ID('tempdb..#t') IS NOT NULL DROP TABLE #t;