Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15930

ROWLOCK, UPDLOCK, READPAST Together

$
0
0

Hello,

I have noticed few queries uses ROWLOCK, UPDLOCK and READPAST query hints together. I want to know whats the difference between below 2 queries:

Case I

SELECT queries (ROWLOCK, UPDLOCK, READPAST) from table

Case II

SELECT queries (READPAST) from table

Will the Case II query get blocked because of any X lock on the table? We know it Case I query won't be blocked in this case.

Thanks


deepak


Viewing all articles
Browse latest Browse all 15930

Trending Articles