Forum Replies Created

Viewing 6 posts - 46 through 51 (of 51 total)

  • RE: lock on select

    Oliiii (10/5/2010)


    Paul White NZ (10/4/2010)


    Oliiii (10/4/2010)[hrIt looks like it knows that even though the record is held by an exclusive lock, it hasn't been modified yet so is not yet...

  • RE: lock on select

    Paul White NZ (10/4/2010)


    gheinze,

    Can I ask *why* you want to block query 2? It seems an unusual requirement. Why would it be bad for query 2 to run...

  • RE: lock on select

    Paul White NZ (10/4/2010)


    gheinze (10/4/2010)


    I tested this on a test Db with isolation level "read committed snapshot"

    Right well that's different - now you are using the isolation level correctly.

    The point...

  • RE: lock on select

    same results with xlock

    when I check sp_lock the type of the lock change to RID and mode X but i get the same results using updlock or xlock

  • RE: lock on select

    Paul White NZ (10/3/2010)


    gheinze (10/1/2010)


    The isolation level is read committed with ALLOW_SNAPSHOT_ISOLATION ON

    At the default READ_COMMITTED isolation level, you would need to SET READ_COMMITTED_SNAPSHOT ON to get row versioning isolation.

    ALLOW_SNAPSHOT_ISOLATION refers...

  • RE: lock on select

    Thanks all for the replies!!

    At the default READ_COMMITTED isolation level, you would need to SET READ_COMMITTED_SNAPSHOT ON to get row versioning isolation.

    ALLOW_SNAPSHOT_ISOLATION refers to full SNAPSHOT isolation, which requires a...

Viewing 6 posts - 46 through 51 (of 51 total)