Deleting a Temporary Table in MSSQL
The correct way to delete a temporary table:
IF OBJECT_ID(\'tempdb.dbo.#tmp\', \'U\') IS NOT NULL
DROP TABLE #tmp;
The correct way to delete a temporary table:
IF OBJECT_ID(\'tempdb.dbo.#tmp\', \'U\') IS NOT NULL
DROP TABLE #tmp;
Comments (0)
No comments yet.