First Commit - Source Code from Reply
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
-- cancellazione record più vecchio del 2011
|
||||
delete mnp_bit_in_rec b
|
||||
where b.DATA_RICHIESTA < to_date('01012011','ddmmyyyy');
|
||||
|
||||
commit;
|
||||
|
||||
|
||||
update mnp_fmsrisk_cessazione_out f
|
||||
set id_richiesta = (
|
||||
select id_richiesta
|
||||
from mnp_gestione_richiesta r
|
||||
where r.msisdn = f.msisdn
|
||||
and r.codice_fiscale_partita_iva = f.cf_piva
|
||||
and r.data_cut_over_calc = f.data_cut_over)
|
||||
where f.data_inserimento < to_date('01012011','ddmmyyyy');
|
||||
commit;
|
||||
|
||||
update mnp_fmsrisk_cessazione_out f
|
||||
set id_richiesta = (
|
||||
select id_richiesta
|
||||
from mnp_gest_rich_rec_virt r
|
||||
where r.msisdn = f.msisdn
|
||||
and r.codice_fiscale_partita_iva = f.cf_piva
|
||||
and r.data_cut_over_calc = f.data_cut_over)
|
||||
where f.data_inserimento < to_date('01012011','ddmmyyyy');
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user