transactions - Can you still lock rows exclusively (block readers) in a SQL Server db that has Snapshot Isolation and RCSI enabled? -


can still lock rows exclusively (block readers) in sql server db has snapshot isolation , rcsi enabled?

i want xlock, rowlock select on table.

yes, can lock rows exclusively (either using dml or locking hints). readers using snapshot isolation not blocked because don't take locks (on data).

after all, not locking , blocking prime advantage of snapshot isolation.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -