in Technology by
What is the difference between COMMIT and ROLLBACK?

1 Answer

0 votes
by

What is the difference between COMMIT and ROLLBACK?

Every statement between BEGIN and COMMIT becomes persistent to database when the COMMIT is executed. Every statement between BEGIN and ROOLBACK are reverted to the state when the ROLLBACK was executed.

Related questions

0 votes
    What is the difference between post-database commit and post-form commit?...
asked Dec 18, 2020 in Technology by JackTerrance
0 votes
    Explain the Rollback statement?...
asked Dec 17, 2020 in Technology by JackTerrance
0 votes
    I was doing an arm template deployment of Azure data factory from dev-ops pipelines. Mistakenly I have ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 4, 2022 in Education by JackTerrance
0 votes
    I was doing an arm template deployment of Azure data factory from dev-ops pipelines. Mistakenly I have ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 4, 2022 in Education by JackTerrance
0 votes
    Which of the following is used to rollback a JDBC transaction? (a) rollback() (b) rollforward() (c) ... & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is used to rollback a JDBC transaction? (a) rollback() (b) rollforward() ( ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Selecting the victim to be rollbacked to the previous state is determined by the minimum cost. The factors ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    There are special redo-only log records generated during transaction rollback, called _________ in ARIES. (a) ... from ARIES in division Recovery System of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    In simpler words differentiate between SVN Commit & SVN Update functions?...
asked Feb 21, 2021 in Technology by JackTerrance
0 votes
    What is the command to pick a commit from a specific branch and move it to another branch? A. Git move commit B. Git cherry-pick C. Git move branch D. None of the options...
asked Dec 24, 2022 in Technology by JackTerrance
0 votes
    What is the Git command to skip staging and commit the changes directly? A. git skip stage B. git commit C. git commit -a -m “message” D. git add changes...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    Is there a way to revert a git commit that’s already been pushed and made public?...
asked Nov 4, 2020 in Technology by JackTerrance
0 votes
    In Git how do you revert a commit that has already been pushed and made public?...
asked Nov 2, 2020 in Technology by JackTerrance
0 votes
    What is the process for reverting a commit that has already been pushed and made public?...
asked Oct 4, 2020 in Technology by Editorial Staff
0 votes
    What is the Git command to move branch pointer to different commit without checkout? A. Git cherrypick B. Git update-ref C. Git reset head...
asked Dec 24, 2022 in Technology by JackTerrance
...