When the rows of an open cursor need to be updated it is best to have the FOR UPDATE clause in the cursor declaration.
Wakati safu ya mshale wazi haja ya kuwa updated ni bora kuwa KWA UPDATE kifungu katika mshale tamko hilo.