QuestionQ134

VerifiedUsing DML and Transaction Control Statements

Examine the following statements, which run in a single Oracle session:

Question Image

Which three statements are true?

Choose three
Explanation

A COMMIT makes the preceding update of pen from pcode 1 to 10 permanent. A rollback to savepoint b reverses only changes made after that savepoint, restoring fountain pen's pcode from 30 to 3 and restoring the pen row that was deleted. Because the deletion of pencil occurred before savepoint b, it remains in the transaction and is made permanent by the final COMMIT.

Learn more

Community Discussion

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