Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Max -vs- Select Top
Message
 
To
01/05/2001 17:34:52
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00502179
Message ID:
00502300
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform