Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. SQL Server Experts !

SQL Server Experts !

Scheduled Pinned Locked Moved Visual Basic
databasesql-serversysadminhelpquestion
2 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    ManaInfy
    wrote on last edited by
    #1

    I am trying to do the following ! ( SQL Server 2000 ) Open one session of Query Analyser Window Begin Trans Update Table1 Set ... But I don't commit ! Open another session of Query Analyser Window Select from Table1 Select gets Blocked unless Update is committed ! CAN'T I DO A SELECT WHEN UPDATES/INSERTS Occur ? I Can do with NOLOCK but we don't want uncommitted data to appear ! I have tried with all transaction isolation levels. Anyone can help ? Thanks Anand

    J 1 Reply Last reply
    0
    • M ManaInfy

      I am trying to do the following ! ( SQL Server 2000 ) Open one session of Query Analyser Window Begin Trans Update Table1 Set ... But I don't commit ! Open another session of Query Analyser Window Select from Table1 Select gets Blocked unless Update is committed ! CAN'T I DO A SELECT WHEN UPDATES/INSERTS Occur ? I Can do with NOLOCK but we don't want uncommitted data to appear ! I have tried with all transaction isolation levels. Anyone can help ? Thanks Anand

      J Offline
      J Offline
      jkgh
      wrote on last edited by
      #2

      Just think about what a transaction is designed to do. eternal student Give a man a fish and you feed him for a day; teach him to use the 'net and he won't bother you for weeks.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups