what is the use of nolock in sql server code example Example: SQL nolock SELECT * FROM LockTestDemo WITH (NOLOCK)