error handling - rolling back changes

B

brendan.wong

hello. i'm trying to incorporate some error handling into my web app,
but i'm not sure how to go about it in this case.

say for example, i already ran 10 INSERTS, then on my 11th INSERT,
something fails (perhaps trying to perform an INSERT into a table that
doesn't exist). logically, i should stop execution of the page and
display some sort of error message. but, since i've already run 10
successful INSERT queries before the error occurred, what do i do
now?

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top