I am trying to use transactional functionality in Oracle SQL for the first time and cannot find a suitable explanation. I understand that the start of a new session will begin with a new transaction. I also understand that commit / rollback is used to complete it. What I'm trying to do is execute two statements, and if I fail one of them, discard any changes that they could make and continue. How can I check this condition and perform a commit or rollback accordingly?
sql oracle transactions
dpsthree
source share