engineering computer science MCQ #896

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

engineering computer science MCQ #896

  1. Question 1

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

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

    Answer: It cancels the transaction

    Explanation: ROLLBACK statement cancels the transaction, undoing changes made during the transaction. NET computer science MCQs often test this core concept.