Different transaction levels in sql server, DOT NET Programming

What are different transaction levels in SQL SERVER?

The Transaction Isolation level decides how is the one process isolated from theother process. Using the transaction levels you can implement locking in the SQL SERVER.

There are 4 transaction levels in SQL SERVER as shown below:-

READ COMMITTED:

In this the shared lock is held for the duration of the transaction, means that no other transactions can modify the data at the same time. The Other transactions can insert and change data in the same table, however, as long as it is not locked by the first transaction.

READ UNCOMMITTED:

In this no shared locks and no exclusive locks are honored. This is the least restrictive isolation level resulting in the best concurrency but the least data integrity.

REPEATABLE READ:

In this the setting disallows dirty and non-repeatable reads. However, even though the locks are held on read data, the new rows can still be inserted in the table, and will subsequently be interpreted by the transaction.

SERIALIZABLE:

This is the most restrictive setting holding shared locks on the range of data. This  does not allow the insertion of new rows in the range that is locked; hence, no phantoms are allowed.

Posted Date: 9/24/2012 4:21:24 AM | Location : United States







Related Discussions:- Different transaction levels in sql server, Assignment Help, Ask Question on Different transaction levels in sql server, Get Answer, Expert's Help, Different transaction levels in sql server Discussions

Write discussion on Different transaction levels in sql server
Your posts are moderated
Related Questions
What is CLR?  CLR(Common Language Runtime) is the major resource of .Net Framework. It is collection of services such as garbage collector, exception handler, jit compilers etc

Question: (a) Give three key differences between the DetailsView and FormView controls. (b) The ASP.NET 2.0 Framework introduces the idea of validation groups. How Valida

Question: (a) Using the help of a diagram, describe the layer of the .NET framework that sits between Visual Basic.NET 2005 and the operating system. (b) Explain the charac

Improve an existing web application and design (ASP C# Azure Project Description: I want an experience programmer to take my Proof of Concept web app to a professional level.

Regular IT Support Work Project Description: I have a number of clients in the UK that I give you IT support for on their Windows desktops and servers and linked peripherals


Explain different types of XML Application Programming Interface (API). The following are two main parts of XML parsers: Tree-based API - Compiles an XML document into a tre

What is the difference between Authentication and authorization? This is  a tricky question. These two concepts seem altogether same  but there is big  difference. The Authenti

Consumer and Dealer management Project Description: Need to code the existing UI for relative and CRUD automation. Prepare CRUD for almost 7-10 forms with search and repor

What are runtime services? Runtime services having of predefined and user-defined classes that are available to the workflow runtime engine during implementation to customize t