Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best practice: EXISTS vs COL_NAME in
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01464472
Message ID:
01464475
Vues:
56
>I prefer:
>
>select Table1.*
>FROM Table1
>INNER JOIN Table2 ON Table1.pk_fld = Table2.pk_fld and Table1.fld2 = '123'
>
Boris,

You know well enough that the result would be different than EXISTS in case of 1 to Many.
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