Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select count not the same from Web and SSMS
Message
From
18/03/2015 10:40:35
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01616928
Message ID:
01616933
Views:
27
>NOLOCK uses dirty reads. So, if that new record was just added, the select statement may not see it. And it's just a coincidence that one application sees that row and others don't.

No, this is not related. That record exists since a while. Also, the command was retested a day after the record was created and there is still a difference.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform