1 2 3 4 5 6 7 8 9 10
| proc sql;
create table contrat as
select* from PROD.cnu_contrat_unitaire
where prd_code in ('GAN_ALT_PREV','GAN_EMP_PREV','GAN_ATT_PREV','GAN_ACT_PREV','DEPENDANCE','GAN_ALT_HCLE','MPS','G_PREV',
'G_ACC','G_HOSPIT','SIGMA_PREV','CASH')
and cnu_code in('03I19 961247703','03I19 991288453','03I19 921712173','06I19 981507586','07I20 001279267')
and cnu_d_terme is null or cnu_d_terme > mdy(03,31,2013)
and(cnu_inv_deb)< mdy(03,31,2013)
and (cnu_inv_fin)> mdy(03,31,2013)
and USER_CREAT='ETL SAPHIR'; |
Partager