QuestionQ154

VerifiedManipulating Data

You execute the following commands:

Question Image

Which two statements, used independently in place of <TODO>, cause the query to return 1?

Choose two
Explanation

Rolling back to post_insert reverses only the changes made after that savepoint, so the insert of customer 2 is undone while the insert of customer 1 remains. In Oracle, SAVEPOINT is optional in the ROLLBACK TO syntax; therefore, both forms roll back to the same savepoint.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!