Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3722494
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:55:30+00:00 2026-05-19T05:55:30+00:00

Using SQL Server from .NET, is it possible (using the same or separate connections)

  • 0

Using SQL Server from .NET, is it possible (using the same or separate connections) to read both the underlying data as well as the as-yet uncommitted changes from another separate connection?

For example:

I have Connection1, which starts a transaction and inserts a record with Id == 1 into a table but doesn’t commit it

From Connection2, I would like to read the table without that row existing

From Connection2 or Connection3, I would like to read the table with the row existing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T05:55:32+00:00Added an answer on May 19, 2026 at 5:55 am

    Yes, you need to enable dirty reads aka READ UNCOMMITTED

    Edit:

    To read both sets of data you’d need a combination of “snapshot isolation” in one connection and “read uncommitted” in another.

    YMMV. It isn’t something…

    1. I’ve tried
    2. See a use for
    3. I’d have confidence in
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to handle (read and write) binary data to SQL Server using
I'm using SQL Server ADSI to import data from Active Directory and using the
I'm exporting data programatically from Excel to SQL Server 2005 using SqlBulkCopy. It works
When using SQL Server Management Studio from SQL Server 2005, I can connect to
I'm using SQL Server 2000 to print out some values from a table using
With SQL Server 2005 using SSMS, when I run this: SELECT * FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel
My team recently rebuilt their SQL Server 2005 development database from scratch using the
Using sql server 2000, I would like to take my production data and put
I am using SQL Server 2008 Enterprise. And using ADO.Net + C# + .Net
Using VB.NET and SQL Server 2005 I want to generate a date according to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.