Presentation is loading. Please wait.

Presentation is loading. Please wait.

The PROCESS of Queries John Deardurff August 8, 2015

Similar presentations


Presentation on theme: "The PROCESS of Queries John Deardurff August 8, 2015"— Presentation transcript:

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


Download ppt "The PROCESS of Queries John Deardurff August 8, 2015"

Similar presentations


Ads by Google