Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Performance - union
Message
De
02/02/2012 08:42:14
 
 
À
02/02/2012 08:36:06
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01534182
Message ID:
01534280
Vues:
40
>>The original statement was Re: Performance - union Thread #1534182 Message #1534224 : The EXISTS can be replaced with LEFT JOIN
>>
>>(1) I do not see why you would need a LEFT JOIN - if you do you have to add : where .. is not null
>>(2) You cannot just replace it. You need to add DISTINCT
>>
>
>
>The statement meant (not written) was that LEFT JOIN with IS NULL can be replaced with NOT EXISTS.

I did not understand it that way

>
>INNER JOIN and EXISTS are not equivalent if we're talking about 1:many or many to many type of relationship.

Which was my original point to Mike
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform