Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

drop temp table if exists

IF OBJECT_ID('tempdb..#abc') IS NOT NULL DROP TABLE #abc
GO
select * into #abc from District  where DistrictId=1
select * from #abc
 
PREVIOUS NEXT
Tagged: #drop #temp #table #exists
ADD COMMENT
Topic
Name
6+4 =