Download presentation
Presentation is loading. Please wait.
Published byIda Dharmawijaya Modified over 5 years ago
1
The PROCESS of Queries John Deardurff August 8, 2015
Website: August 8, 2015
2
Parse Resolve Optimize Compile Execute Execute SQL Sets Ad Hoc Query
Stored Procedure Syntax Parse Resolve Compile Optimize Execution Plan Procedure Cache Compile Run Time Execute Execute SQL Sets
3
Working with Batches
4
Batches and Variables First Batch Successful Second Batch Fails
5
Transactions must pass the ACID test
Atomicity – All or Nothing Consistent – Only valid data Isolated – No interference Durable – Data is recoverable
6
Auto Commit Transactions without Error Handling
TSQL2012.ldf TSQL2012.mdf Checkpoint
7
Explicit Transactions without Error Handling
TSQL2012.ldf TSQL2012.mdf Checkpoint
8
Explicit Transactions with Error Handling
TSQL2012.ldf TSQL2012.mdf Checkpoint
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.