Lesson 26. Managing Transaction Processing
In this lesson, you’ll learn what transactions are and how to use COMMIT
and ROLLBACK
statements to manage transaction processing.
Understanding Transaction Processing
Transaction processing is used to maintain database integrity by ensuring that batches of T-SQL operations execute completely or not at all.
As explained back in Lesson 14, “Joining Tables,” relational databases are designed so data is stored in multiple tables to facilitate easier data manipulation, management, and reuse. Without going into the how and why of relational database design, take it as a given that well-designed database schemas are relational to some degree.
The orders
tables you’ve been using ...
Get Sams Teach Yourself Microsoft® SQL Server T-SQL in 10 Minutes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.