Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin tran
- declare @matricolaAnagrafica int;set @matricolaAnagrafica=229
- declare @eventoNuovo int;Set @eventoNuovo=668
- declare @eventoVecchio int;Set @eventoVecchio=663
- --update PRIDati_PRI_grande set evento=@eventoNuovo where Evento=@eventoVecchio
- --update PRIDati_pri_piccolo set evento=@eventoNuovo where Evento=@eventoVecchio
- --update PRIDati_Cronologia set evento=@eventoNuovo where Evento=@eventoVecchio
- --select * from vmvServizi where MatricolaAnagrafica=229
- --select * from trcAnagrafica where cognome='toso'
- --select * from vrcAnagrafica where cognome='toso'
- update vDataCoins set l0=@eventoNuovo where l0=@eventoVecchio
- update vFolderTreeSigns set Customer=@eventoNuovo where Customer=@eventoVecchio
- update [vSign] set matricola=@eventoNuovo where Matricola=@eventoVecchio
- update vConvenzione set matricola=@eventoNuovo where Matricola=@eventoVecchio
- update vAusiliMovimentazione set matricola=@eventoNuovo where Matricola=@eventoVecchio
- update vPaiDati set matricola=@eventoNuovo where Matricola=@eventoVecchio
- update vSegnalazioni set matricola=@eventoNuovo where Matricola=@eventoVecchio
- update vCriticita set matricola=@eventoNuovo where Matricola=@eventoVecchio
- update PRIDati_PRI_grande set evento=@eventoNuovo where Evento=@eventoVecchio
- update PRIDati_pri_piccolo set evento=@eventoNuovo where Evento=@eventoVecchio
- update PRIDati_Cronologia set evento=@eventoNuovo where Evento=@eventoVecchio
- update vPlanning set l0=@eventoNuovo where l0=@eventoVecchio
- rollback tran
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement