engineering computer science MCQ #716

What is the purpose of the COMMIT statement in SQL?

engineering computer science MCQ #716

  1. Question 1

    Q1. What is the purpose of the COMMIT statement in SQL?

    • A) To start a transaction
    • B) To commit a transaction
    • C) To rollback a transaction
    • D) To create a savepoint

    Answer: To commit a transaction

    Explanation: The COMMIT statement commits a transaction, making all changes made during the transaction permanent.