QuestionMay 11, 2025

When does a COMMIT command explicitly occur? A) When the user executes COMMIT; B) When the user issues a DDL command such as CREATE or ALTER TABLE. C) When the user executes ROLLBACK; D) When the user exists the system.

When does a COMMIT command explicitly occur? A) When the user executes COMMIT; B) When the user issues a DDL command such as CREATE or ALTER TABLE. C) When the user executes ROLLBACK; D) When the user exists the system.
When does a COMMIT command explicitly occur?
A) When the user executes COMMIT;
B) When the user issues a DDL command such as CREATE or ALTER TABLE.
C) When the user executes ROLLBACK;
D) When the user exists the system.

Solution
4.1(285 votes)

Answer

A), B), and D) Explanation 1. Analyze each option - **A)** True. A COMMIT command explicitly occurs when the user executes `COMMIT;`. - **B)** True. DDL commands like `CREATE` or `ALTER TABLE` implicitly issue a COMMIT. - **C)** False. `ROLLBACK` undoes changes, not commits them. - **D)** True. Exiting the system can trigger an implicit COMMIT depending on the database.

Explanation

1. Analyze each option<br /> <br />- **A)** True. A COMMIT command explicitly occurs when the user executes `COMMIT;`.<br />- **B)** True. DDL commands like `CREATE` or `ALTER TABLE` implicitly issue a COMMIT.<br />- **C)** False. `ROLLBACK` undoes changes, not commits them.<br />- **D)** True. Exiting the system can trigger an implicit COMMIT depending on the database.
Click to rate: