ISOLATION LEVELS and LOCKS

  • Hi,

    At Isolation level-0 which lock will be held on the table?

    At Isolation level-1 which lock will be held on the table?

    At Isolation level-2 which lock will be held on the table?

    At Isolation level-3 which lock will be held on the table?

    Thanks in advance.

    karthik

  • Karthik

    No locks will be held.

    Until you do something. What do you want to do with the tables? SELECT? UPDATE? INSERT?

    Enter "Isolation level" (without the double quotes) into the search tab of BOL, and pick SET TRANSACTION ISOLATION LEVEL from the list.

    This forum also has a shortlist of excellent SQL Server reference books.

    Cheers

    ChrisM

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply