I have a PL/SQL function (running on Oracle 10g) in which I update some rows. Is there a way to find out how many rows were affected by the UPDATE? When executing the query
alternatively, SQL%ROWCOUNT you can use this within the procedure without any need to declare a variable
SQL%ROWCOUNT