Hello experts,
Please, I want to optimise the sas sql query, for the hundred of variables and more than 3 000 000 observations.
when I do like below, but , it will take more than 10 minutes
proc sql;
create table toto as
select
v1 as w1,
v2,
case
...when
...
else
as v3,
/* many cases conditions of case are used */...
...
..,
vn
from ( select * from dat1 where y1='O' and f1 ne 'E') as M1 left join beta as M2
on M1.id=M2.id
left join omega as M3
on M2.tr=M3.tr;
quit;
I think using merge with dataset ? will be more faster ?
... View more