Thanks in advance

I am running a batch of 5000 inserts & update sql for a particular user. Out of 5000 sql some are getting executed and some are

I want to know how to find those failed ones.

apart from spool option any other solution is there. let me know .