---
title: "What is the difference between COMMIT and ROLLBACK process in Database ?"  
description: "What is the difference between COMMIT and ROLLBACK process in Database ?"  
author: "MindStick Software Pvt Ltd"  
published: 2019-09-19  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/33626/what-is-the-difference-between-commit-and-rollback-process-in-database  
category: "mssql server"  
tags: ["sql", "sql server 2008"]  
reading_time: 1 minute  

---

# What is the difference between COMMIT and ROLLBACK process in Database ?

Each statement between BEGIN and COMMIT becomes persistent to the database when the COMMIT is executed. Each statement between BEGIN and ROLLBACK are reverted to the state when the ROLLBACK was executed.

## Answers

### Answer by MindStick Software Pvt Ltd

Each statement between BEGIN and COMMIT becomes persistent to the database when the COMMIT is executed. Each statement between BEGIN and ROLLBACK are reverted to the state when the ROLLBACK was executed.


---

Original Source: https://www.mindstick.com/interview/33626/what-is-the-difference-between-commit-and-rollback-process-in-database

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
