Oracle
1Z0-497 · Question #122
In Oracle Database 12c, when does a transaction begin?
The correct answer is D. when the first executable SQL statement is encountered. A transaction begins when the first executable SQL is encountered. An executable SQL statement is a SQL statement that generates call to a database instance, including DML and DDL statements and the SET TRANSACTION statement.
Oracle Database 12c Architecture
Question
In Oracle Database 12c, when does a transaction begin?
Options
- Awhen a transaction ID is allocated for it.
- Bwhen a user explicitly issues a "begin" statement
- Cwhen a transaction is assigned to an available undo data segment to record undo entries for the
- Dwhen the first executable SQL statement is encountered
How the community answered
(24 responses)- A17% (4)
- B4% (1)
- C8% (2)
- D71% (17)
Explanation
A transaction begins when the first executable SQL is encountered. An executable SQL statement is a SQL statement that generates call to a database instance, including DML and DDL statements and the SET TRANSACTION statement.
Topics
#transaction lifecycle#undo segments#SQL execution#transaction management
Community Discussion
No community discussion yet for this question.