set timing on
spool /oracle/UTILITY/refresh_viste_DWH_SEQ.lst
select to_char(sysdate,'yyyy/mm/dd hh24:mi:ss') data_inizio from dual;
prompt DWH.MNP_DWH_RICH_DON_VIRT_EXT 
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_RICH_DON_VIRT_EXT', 'C');
--prompt DWH.MNP_DWH_DON
--EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_DON' , 'C');
prompt DWH.MNP_DWH_POR
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_POR', 'C');
--prompt DWH.MNP_DWH_CESS_IN
--EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_CESS_IN', 'C'); eliminato il report
--prompt DWH.MNP_DWH_CESS_OUT
--EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_CESS_OUT','C');
--prompt DWH.MNP_DWH_DON_VIRT
--EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_DON_VIRT', 'C');
prompt DWH.MNP_DWH_REC_PUSH_VIRT
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_REC_PUSH_VIRT', 'C');
prompt DWH.MNP_DWH_TC_ANOMALO
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_TC_ANOMALO', 'C');
prompt DWH.MNP_DWH_RICH_REC_VIRT_EXT
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_RICH_REC_VIRT_EXT', 'C');
prompt DWH.MNP_DWH_gest_rich_rec_ext
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_gest_rich_rec_ext', 'C');
--prompt DWH.MNP_DWH_gest_rich_don_ext
--EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_gest_rich_don_ext', 'C');
--prompt DWH.MNP_DWH_REC_PUSH
--EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_REC_PUSH', 'C');
prompt DWH.MNP_DWH_XML_IN
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DWH_XML_IN', 'C');

select to_char(sysdate,'yyyy/mm/dd hh24:mi:ss') data_fine from dual;
spool off
exit;
