Files
gateway-mnp-dbc/dbcmnpsrc/FE/mnpapp/script/dbUpDate/Extra-KitOttobre13/dbcDML.sql
2024-05-13 12:54:14 +02:00

93 lines
2.4 KiB
SQL

INSERT INTO MNP_FUNZIONALITA_GUI (ID_PROG, FUNZIONALITA, COMANDO_FUNZ, JSP_NAME, CODICE_DOMINIO)
VALUES ( (select max(id_prog)+1 from mnp_funzionalita_gui), 'Report KPI', 'ShowKPIView.do', 'Banner MNP', 'MNP');
INSERT INTO MNP_PROFILI_FUNZIONALITA
VALUES ( 'AM', (select id_prog from mnp_funzionalita_gui where funzionalita = 'Report KPI') );
commit;
update HIST_GEST_RICH_REC_VIRT
set ESPLETAMENTOTERZEPARTI = f_split_id_operatore(ESPLETAMENTOTERZEPARTI)
where ESPLETAMENTOTERZEPARTI is not null;
commit;
update HIST_GEST_RICH_DONOR_VIRT
set ESPLETAMENTOTERZEPARTI = f_split_id_operatore(ESPLETAMENTOTERZEPARTI)
where ESPLETAMENTOTERZEPARTI is not null;
commit;
update MNP_GESTIONE_RICH_CESS_PORT
set DA_NOTIFICARE_AOM = f_split_id_operatore(DA_NOTIFICARE_AOM)
where DA_NOTIFICARE_AOM is not null;
commit;
update MNP_GEST_RICH_DONOR_VIRT
set ESPLETAMENTOTERZEPARTI = f_split_id_operatore(ESPLETAMENTOTERZEPARTI)
where ESPLETAMENTOTERZEPARTI is not null;
commit;
update MNP_GESTIONE_RICHIESTA_REC
set ESPLETAMENTOTERZEPARTI = f_split_id_operatore(ESPLETAMENTOTERZEPARTI)
where ESPLETAMENTOTERZEPARTI is not null;
commit;
update MNP_GEST_RICH_REC_VIRT
set ESPLETAMENTOTERZEPARTI = f_split_id_operatore(ESPLETAMENTOTERZEPARTI)
where ESPLETAMENTOTERZEPARTI is not null;
commit;
update HIST_GESTIONE_RICHIESTA_REC
set ESPLETAMENTOTERZEPARTI = f_split_id_operatore(ESPLETAMENTOTERZEPARTI)
where ESPLETAMENTOTERZEPARTI is not null;
commit;
update MNP_GESTIONE_FILE_AOM
set AOM = f_split_id_operatore(aom)
where AOM is not null;
commit;
update HIST_GEST_RICH_REC_VIRT
set DA_NOTIFICARE_AOM = f_split_id_operatore(DA_NOTIFICARE_AOM)
where DA_NOTIFICARE_AOM is not null;
commit;
update HIST_GEST_RICH_DONOR_VIRT
set DA_NOTIFICARE_AOM = f_split_id_operatore(DA_NOTIFICARE_AOM)
where DA_NOTIFICARE_AOM is not null;
commit;
update MNP_GEST_RICH_DONOR_VIRT
set DA_NOTIFICARE_AOM = f_split_id_operatore(DA_NOTIFICARE_AOM)
where DA_NOTIFICARE_AOM is not null;
commit;
update MNP_GESTIONE_RICHIESTA_REC
set DA_NOTIFICARE_AOM = f_split_id_operatore(DA_NOTIFICARE_AOM)
where DA_NOTIFICARE_AOM is not null;
commit;
update MNP_GEST_RICH_REC_VIRT
set DA_NOTIFICARE_AOM = f_split_id_operatore(DA_NOTIFICARE_AOM)
where DA_NOTIFICARE_AOM is not null;
commit;
update HIST_GESTIONE_RICHIESTA_REC
set DA_NOTIFICARE_AOM = f_split_id_operatore(DA_NOTIFICARE_AOM)
where DA_NOTIFICARE_AOM is not null;
commit;