take copy of the table before update.

take copy of the table after update.

now you compare these two.

difference in count is the successful inserts.

difference in values is the successful updates.

-Raja