if exists(select top 1 1 from sys.tables where name = '#table1')
drop table #table1
create table #table1(id int)
if exists(select top 1 1 from sys.tables where name = '#table1')
drop table #table1
create table #table1(id int)
select * from #table1
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Laxmidhar SahooPosted Sep 1, 2020, 4:04 AM
Vinay TalapaneniPosted Aug 31, 2020, 10:44 AM
Salman BegPosted Aug 31, 2020, 10:00 AM
Vinay TalapaneniPosted Aug 31, 2020, 9:27 AM
Salman BegPosted Aug 31, 2020, 8:52 AM