Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

delete temp table if exists

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

-- 'U' is object type : U = Table (user-defined) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #temp #table #exists
ADD COMMENT
Topic
Name
7+2 =