Isolation Level

From: Vanaja Edara (vanaja.edara_at_brinksinc.com)
Date: 02/19/04


Date: Thu, 19 Feb 2004 09:42:17 -0600

Hi,
       We have an Asp.Net applcation with Sql Server as back end. I have a
base class function that takes a SqlCommand Object as a parameter and
returns a datatable. I want to set the Isolation to "Read Uncommited" (Sql
Server's default Isolation Level is "Read Commited") as I am just selecting
some data from the tables. When I try to do the following :

objSqlCommand.Transaction.IsolationLevel = IsolationLevel.ReadUncommitted

The system says IsolationLevel is a Readonly property.

So the only option that I have currently is to set the Isolation Level to
"Read Uncommitted" in the Stored Procedures.

Is there a way to set it in the code so that I don't have to set it for each
stored procedure.

Thanks a lot.



Relevant Pages

  • Re: SQL Injection Prevention
    ... If you can't consider SQL injection ... vulnerability in isolation from other factors I can't argue to that. ... database programmer putting dynamic sql statement in trigger procedure. ... database programmer since its more natural to begin with stored procedures ...
    (microsoft.public.dotnet.security)
  • Re: SQL Injection Prevention
    ... If you can't consider SQL injection ... vulnerability in isolation from other factors I can't argue to that. ... database programmer putting dynamic sql statement in trigger procedure. ... database programmer since its more natural to begin with stored procedures ...
    (microsoft.public.sqlserver.server)
  • Re: Isolation Level
    ... I want to set the Isolation to "Read Uncommited" (Sql ... > So the only option that I have currently is to set the Isolation Level to ... > "Read Uncommitted" in the Stored Procedures. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Database or store to handle 30 Mb/sec and 40,000 inserts/sec
    ... Does Oracle support query sampling? ... Isolation is semantics, locking is implementation. ... readers block writers, while Oracle has never had this problem. ... SQL Server 2005 introduces a new "snapshot" isolation level that is ...
    (comp.databases.oracle.server)
  • Re: Database or store to handle 30 Mb/sec and 40,000 inserts/sec
    ... Does Oracle support query sampling? ... Isolation is semantics, locking is implementation. ... readers block writers, while Oracle has never had this problem. ... SQL Server 2005 introduces a new "snapshot" isolation level that is ...
    (comp.databases.oracle.server)

Quantcast