Simon's Bits and Bobs
Wednesday, 20 July 2016
SQL Server - Checking whether a temp table exists
IF OBJECT_ID('tempdb..#tmpTable1') IS NOT NULL
drop table tempdb..#tmpTable1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment