engineering computer science MCQ #906

What is the purpose of 'COMMIT' in a database transaction?

engineering computer science MCQ #906

  1. Question 1

    Q1. What is the purpose of 'COMMIT' in a database transaction?

    • A) To save changes made during a transaction
    • B) To undo changes made during a transaction
    • C) To start a new transaction
    • D) To end a transaction

    Answer: To save changes made during a transaction

    Explanation: The 'COMMIT' statement saves changes made during a transaction, making them permanent and visible to other users.