MS SQL Server Optimization Question: Download SQL Server Optimization PDF

What is Shared lock?

Tweet Share WhatsApp

Answer:

Shared Lock allows simultaneous access of record by multiple Select statements.
Shared Lock blocks record from updating and will remain in queue waiting while record is accessed for reading.
If update process is going on then read command will have to wait until updating process finishes.

Download SQL Server Optimization PDF Read All 7 SQL Server Optimization Questions
Previous QuestionNext Question
What are the steps you will take, if you are tasked with securing an SQL Server?What is Update locks?