The Below code works fine for single insert, but I need to do row by row insert starting E.EmpId 101 till the end.
Insert into Emp values (Col1,Col2,Col3,Col4,Col5)
select BarCode -1 as 'RefNumber' from table1 t1 where t1.Col=E.Col
,'Default Value'
,(select isnull(p.JoinDate,t.ReleaseDate) from table2 t2 where t2.Col=E.Col
,(SELECT LEFT(ACCOUNT+'0000000000', 10) from table3 where t3.Col=E.Col
,(select case when Col5 then else)...from table4 where t4.Col=E.Col
from EmpStagging E Where E.EmpId=101