Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Max -vs- Select Top
Message
 
À
01/05/2001 17:34:52
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00502179
Message ID:
00502300
Vues:
18
>Even shorter
>
>SELECT Max(DataInsertion)
>FROM Titre

I can't do it since it is part of a more complex query. I need to join tables based on the most recent data stored into an historical table.

>But, I think all these will be optimized and got the same. Look at the query plan for each.

Execution plans are different.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform