First Commit - Source Code from Reply

This commit is contained in:
vincenzofariello
2024-05-13 12:54:14 +02:00
parent 73e32a5020
commit a15aee1f08
11184 changed files with 1065913 additions and 0 deletions

View File

@@ -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;