What is the purpose of using transactions in database management systems?

  • To encrypt sensitive data
  • To enforce access control
  • To ensure data consistency and integrity
  • To improve database performance
Transactions in database management systems serve the purpose of ensuring data consistency and integrity. By grouping operations together as a single unit, transactions help maintain the integrity of the data by either applying all the operations successfully or rolling back the changes if an error occurs. This ensures that the database remains in a consistent state, even in the event of failures or concurrent access by multiple users.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *