Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A SQL challenge
Message
De
10/04/2014 14:40:58
 
 
À
10/04/2014 14:07:58
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01598405
Message ID:
01598456
Vues:
51
>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) :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform