Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A SQL challenge
Message
From
10/04/2014 14:40:58
 
 
To
10/04/2014 14:07:58
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01598405
Message ID:
01598456
Views:
52
>Kevin,
>
>Just an example how to do this in SQL 2005 without CTE's


Wow, thanks, that actually performs better than anything I'd seen prior to the new windowing features in SQL 2012. My first inclination is to use CROSS APPLY though there's additional cost to that.


On the CTEs - in absence of recursion, they offer no functional benefit - they are syntax sugar for derived table subqueries (though some people prefer sugar!).


Thanks, great answers. Wrap-up tonight, have to get back to work (or my power-nap, whichever I decide) :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform