-- EXEC AS USER MNP ON TABLE MNP.MNP_XML_ACK_OUT
-- For use by package DWH.PKG_CALCOLO_SLA_MVNO ver. 3.0        
-- Improve CARICAMENTO_SLAX_RECIPIENT, CARICAMENTO_SLAY_RECIPIENT, CARICAMENTO_SLAZ_RECIPIENT
-- prevent ACCESS FULL TABLE MNP.MNP_XML_ACK_OUT 
-- causing [ORA-01555: snapshot too old: rollback segment too small]
-- add function-based (trunc 'MM') index on column MNP.MNP_XML_ACK_OUT.data_inserimento 
CREATE INDEX IDX_MNP_XML_ACK_OUT_DINS ON MNP_XML_ACK_OUT( TRUNC(DATA_INSERIMENTO, 'MM') ) 
TABLESPACE TAB_IDX_MEDIUM;
/
