December 2016
Intermediate to advanced
368 pages
6h 44m
English
In this lesson, you learn what transactions are and how to use COMMIT and ROLLBACK statements to manage 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 in prior lessons are a good example ...
Read now
Unlock full access