QuestionQ105

VerifiedManipulating Data

An Oracle Database session has an uncommitted transaction underway that updated 5000 rows in a table.

In which three situations does the transaction finish, thereby committing the updates?

Choose three
Explanation

Oracle implicitly commits a transaction before any syntactically valid DDL statement and after DDL that completes successfully; therefore, a successful CREATE INDEX commits the pending updates. A normal successful logout also implicitly commits the current transaction. SHUTDOWN TRANSACTIONAL allows active transactions to complete, so a subsequent COMMIT completes and commits the transaction. A syntax error does not qualify as syntactically valid DDL, SHUTDOWN IMMEDIATE rolls back uncommitted work, and a different session cannot commit another session’s transaction.

Learn more

Community Discussion

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