I have a select-query using the WITH(NOLOCK) hint to ignore locks. The problem is that when the query is executed it get timed out because it's waiting for a shared page lock on the table in the select. I thought NOLOCK should prevent trying to get shared locks.Are there any cases where the NOLOCK is not having effect or some setting in SQL Server that affect this?
↧