Question

    What is the purpose of the "rollback" operation in a

    transaction?
    A It permanently saves the changes made in the transaction to the database. Correct Answer Incorrect Answer
    B It undoes all the changes made in the transaction and restores the database to its previous state. Correct Answer Incorrect Answer
    C It releases any locks acquired by the transaction and allows other transactions to access the data. Correct Answer Incorrect Answer
    D It checks the consistency of the data in the transaction before making it permanent. Correct Answer Incorrect Answer

    Solution

    It undoes all the changes made in the transaction and restores the database to its previous state.

    Practice Next

    Relevant for Exams: