Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query question
Message
 
 
To
13/11/2009 08:55:43
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01434430
Message ID:
01434594
Views:
36
>Thanks, Naomi
>
>Your method works fine, but, if I understand correctly, it won't work with SQL Server 2000, so Sergey'd method would be helpful there.
>Is that correct?

Yes, it's correct, but I would recommend derived table approach over correlated subquery.

Please visit the blog I gave you a reference to. It discusses all the methods with pros and cons. And in the part 2 you may see some measurement and you can also test performance for your cases - in fact, I appreciate additional test cases for that blog improvement.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform