Contents tagged with 2016
-
SQL Server Drop Temporary Table Syntax Enhancement in SQL Server 2016
SQL Server 2016 and onwards:
DROP TABLE IF EXISTS #MyTable
Prior to SQL Server 2016:
IF OBJECT_ID('tempdb.dbo.#MyTable', 'U') IS NOT NULL DROP TABLE #MyTable; more