set timing on

spool /oracle/UTILITY/refresh_viste_DWH_SEQ_1.lst

select to_char(sysdate,'yyyy/mm/dd hh24:mi:ss') data_inizio from dual;

prompt DWH.MNP_DW_XML_IN_OUT
EXECUTE DBMS_MVIEW.REFRESH ('DWH.MNP_DW_XML_IN_OUT', 'C');

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

spool off

exit;
