5
Answers

Can i execute my code without error.

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
Answers (5)