⌘BABAKOV.NET Let's code!
100% [dark] [ru]

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;

Comments (0)

No comments yet.

Leave a comment
Comment
Images (up to 5 MB)
Your comment will appear after moderation.