I am trying to acheive like this at the end of the procedure i need all the rows in 
one temp table
How can I accomplish this

```
if @i > 1
begin
select * from into #tempTbl1 from payments
where method = 'test1'
end 
else
begin
select * from into #tempTbl2 from payments
where method = 'test1'
end

insert into #tempTbl1 select * from #tempTbl2

select * from #tempTbl1

```