First Commit - Source Code from Reply
This commit is contained in:
26
dbcmnpsrc/FE/mnpapp/script/dbUpDate/kitDicembre05/RU_171.sql
Normal file
26
dbcmnpsrc/FE/mnpapp/script/dbUpDate/kitDicembre05/RU_171.sql
Normal file
@@ -0,0 +1,26 @@
|
||||
spool ru_171.log
|
||||
|
||||
select id_richiesta,msisdn
|
||||
from mnp_gestione_richiesta_rec
|
||||
where stato=11 and codice_operatore_donating='TIMT' and id_richiesta in (
|
||||
'XXX',
|
||||
'XXX'
|
||||
)
|
||||
/
|
||||
INSERT INTO mnp_storico_richiesta_rec (id_prog, id_richiesta, tipo_file, stato_da, stato_a, nome_file,i_o)
|
||||
select SEQ_REC_STORICO_RICH.NEXTVAL,id_richiesta,'22',11,17,'BONIFICA',0
|
||||
from mnp_gestione_richiesta_rec
|
||||
where stato=11 and codice_operatore_donating='TIMT' and id_richiesta in (
|
||||
'XXX',
|
||||
'XXX'
|
||||
)
|
||||
/
|
||||
update mnp_gestione_richiesta_rec
|
||||
set stato=17
|
||||
where stato=11 and codice_operatore_donating='TIMT' and id_richiesta in (
|
||||
'XXX',
|
||||
'XXX'
|
||||
)
|
||||
/
|
||||
|
||||
spool off
|
||||
Reference in New Issue
Block a user