Hi All,
Below is my script - can you see any obvious errors, its to update 4000 records I left it running for 2 hours - it should only take 20 mins max:-
update sb_void_losses
set sb_tot_rentloss = (Select sum(vtr_dr) from
void_transactions v1
where v1.vtr_pro_refno = sb_pro_refno
and vtr_effective_date between sb_void_date and sb_let_date
group by v1.vtr_pro_refno)
any ideas appreciated.
Many thanks
Sam
Below is my script - can you see any obvious errors, its to update 4000 records I left it running for 2 hours - it should only take 20 mins max:-
update sb_void_losses
set sb_tot_rentloss = (Select sum(vtr_dr) from
void_transactions v1
where v1.vtr_pro_refno = sb_pro_refno
and vtr_effective_date between sb_void_date and sb_let_date
group by v1.vtr_pro_refno)
any ideas appreciated.
Many thanks
Sam