What is a NOLOCK?

Answer Posted / naren

Using NOLOCK politely asks SQL Server to ignore locks and
read directly from the tables. This means you completely
circumvent the lock system, which is a major performance
and scalability improvement. However, you also completely
circumvent the lock system, which means your code is living
dangerously. You might read the not-necessarily-valid
uncommitted modifications of a running transaction. This is
a calculated risk.

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How retrieve field names from the table in SQL through JAVA code?

1403


Explain the difference between functions and stored procedures in sql server?

478


What are the different types of columns types constraints in the sql server?

527


Do you know what is lock escalation?

582


What kind of problems occurs if we do not implement proper locking strategy?

967






Describe how to use linked server?

547


What is the difference between sdf and mdf?

677


Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

501


What do you mean by acid?

578


How to rebuild the master database?

581


What is store procedure?

645


Describe triggers features and limitations?

508


Explain nested stored procedure. Syntax and an example for create nested stored procedure?

530


Will sql server 2005 allow you to reduce the size of a column?

553


Any one plz send me SQL Server Developer/DBA resume for 4 years experience

2176