Click here to Skip to main content
15,996,429 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I want to implement code of Rollback for 2 queries or more if there is any mistake in any query, all queries will be canceled.

i.e. I have 5 queries there is an error in the forth query the previouse queries will be canceled

thank you
Posted
Comments
CHill60 21-May-14 10:38am    
What RDMS? Have you tried anything yourself yet?

That is too general a question for a specific answer.
In this case, Google is definitely your friend: Transaction rollback[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900