While updating records using cursor
26-Jan-2021 04:20
' 'so if you remove the first fetch statement the while loop won't work as there is not "FETCHED" record for manipulation, if you remove the last fetch statement, the "while" will not loop-through.
Then I would try the set-based approach which runs a batch of the records only if the set-based is too slow.