Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update in batch doesn't update the entire records
Message
 
 
À
10/12/2009 00:16:54
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01438298
Message ID:
01438329
Vues:
33
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform