Oracle: Update from within procedure not working
问题 In my Oracle PL/SQL procedure I am trying to update a row like this: UPDATE personal p SET p.surname = surname, p.name = name, p."alter" = alter, p.sex = sex, p.jobcode = jobcode, p.year_wage = month_wage * 12 WHERE p.personalnr = personalnr; COMMIT; I have added these two statements right after the commit to confirm the code is reached and executed with the right arguments (e.g. here I want to change the name): DBMS_OUTPUT.put_line('updated ' || name); DBMS_OUTPUT.put_line('personalnr ' ||