View Single Post

   
  #1 (permalink)  
Old 03-01-2008, 02:43 PM
bmm
 
Posts: n/a
Default Wrong result Set when using NoLock

I have a Store Procedure on a Sql Server 2000 Where I use the Table Hint
"NoLock" on all selects.

One of my clients (OleDbConnection from C#) doesn't get the same Result Set
as the others. The result Set should have 31 rows but this client only gets
5!

When I remove all the "NoLocks" everything works fine. How can that be?


Reply With Quote