engineering computer science MCQ #890

What is the effect of a COMMIT statement in a database transaction?

engineering computer science MCQ #890

  1. Question 1

    Q1. What is the effect of a COMMIT statement in a database transaction?

    • A) It rolls back the transaction
    • B) It saves the transaction
    • C) It cancels the transaction
    • D) It pauses the transaction

    Answer: It saves the transaction

    Explanation: COMMIT statement saves changes made during a transaction, making them permanent in the database.