---
title: "Define Transaction?"  
description: "Define Transaction?"  
author: "Sushant Mishra"  
published: 2017-09-12  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/23296/define-transaction  
category: "database"  
tags: ["c#", "sql server"]  
reading_time: 1 minute  

---

# Define Transaction?

Transaction is a single unit of work which means either ALL or NONE. If a transaction is successful, all of the data operations are committed or save and become a durable part of the database. If a transaction found an errors/exceptions then it must be canceled or rolled back, then all of the data modifications/operations need to be removed.

## Answers

### Answer by Sushant Mishra

Transaction is a single unit of work which means either ALL or NONE. If a transaction is successful, all of the data operations are committed or save and become a durable part of the database. If a transaction found an errors/exceptions then it must be canceled or rolled back, then all of the data modifications/operations need to be removed.


---

Original Source: https://www.mindstick.com/interview/23296/define-transaction

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
