Q&A for professional and enthusiast programmers
create table #t1 ( id int ) insert into #t1 select 1 union all select 2 create table #t2 ( id int ) insert into #t2 select 2 Update #t1 set id=5 from #t2