Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update in batch doesn't update the entire records
Message
 
 
To
10/12/2009 00:16:54
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01438298
Message ID:
01438329
Views:
34
>>Why you're using OR conitions for M2.NoDetailType instead of much simpler to read IN condition?
>
>The purpose of the message was about the issue I raised in regards to the update operation. It was not intended for optimization verification.

It doesn't matter - my comment still stands and you can apply this suggestion.

And yes, it's commonly known fact that INNER JOIN may produce more records than EXISTS and IN subquery (they are different though often used with the same purpose).

Also recently Hugo found an interesting case when IN subquery behaved differently than EXISTS because of NULLs involved.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform