i need to insert value like this
insert into emp1
select 1,'code1',0
union all
select 2,'code1',0
union all
select 1,'code2',0
union all
select 2,'code2',0
i dotn want multiple union all statement,
how can i just 1 temp table which has all id(1,2) and then join it ,if i do cross apply its
not working