Day 12. Understanding Database Locking

In yesterday's lesson, you learned how to write more complex programs and handle variables. Today, you will learn how SQL Server locks data to isolate work in your applications. The most fundamental job of a relational database is to maintain data integrity, especially when many users are working in and around the same data. Databases use locks to make certain that the work you do is always complete and consistent.

By the end of this lesson, you will

  • Understand how SQL Server uses locks

  • Be able to use different transaction isolation levels to manage lock persistence

  • Know how to read locking output to find blocking locks

  • Be able to control lock types through query hints

  • Understand and be able to avoid deadlocks

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset