SQL Server NOLOCK and joins
I won’t address the READ UNCOMMITTED argument, just your original question. Yes, you need WITH(NOLOCK) on each table of the join. No, your queries are not the same. Try this exercise. Begin a transaction and insert a row into table1 and table2. Don’t commit or rollback the transaction yet. At this point your first query … Read more