mikaelsnavy
10/14/2014 - 2:50 AM

Drops a temporary (temp) SQL table if it exists

Drops a temporary (temp) SQL table if it exists #sql

IF OBJECT_ID('tempdb..#Results') IS NOT NULL DROP TABLE #Results
IF OBJECT_ID('dbo.Scores', 'U') IS NOT NULL DROP TABLE dbo.Scores;