%prvadit(2); %prvadit(3); %prvadit(4); %prvadit(5); %prvadit(9); proc sql; create table prvadr as select prpr_id, prad_state, prad_zip, min(datepart(prad_eff_dt)) as effdt, max(datepart(prad_term_dt)) as trmdt from prvadr2 group by prpr_id, prad_state, prad_zip; quit;
... View more