What are “lock” hints?



What are “lock” hints?..

Answer / Ravi Rao Gautam

Lock hints in SQL Server are clauses used to control how data is locked during query execution. By specifying a lock hint, you can instruct the database engine to use different isolation levels or lock modes, affecting concurrency and performance. Common lock hints include READUNCOMMITTED, READCOMMITTED, REPEATABLE_READ, SERIALIZABLE, UPDLOCK, HOLDLOCK, and TABLOCK.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is a Lock and let me know Different types of locks?

2 Answers  


Why are views required in the sql server or in any other database?

1 Answers  


How except clause is differs from not in clause?

1 Answers  


Explain what is analysis service repository?

1 Answers  


How to use subqueries in the from clause in ms sql server?

1 Answers  


How to perfor If the table running time is taking 2hours and table is having 10 rows in it?

1 Answers  


How do I view a procedure in sql server?

1 Answers  


What is self contained multi valued query?

1 Answers  


Explain multiserver query

1 Answers  


What is data source view or dsv? : sql server analysis services, ssas

1 Answers  


What is sql injection? How to protect against sql injection attack?

1 Answers  


What is the difference between SSAS 2000 and SSAS 2005?

1 Answers   APX,


Categories