Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Continuation of Message 1593233 on Common Table Expressi
Message
De
05/02/2014 09:00:36
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Web
Divers
Thread ID:
01593237
Message ID:
01593277
Vues:
38
>I have heard that CTEs offer sometimes phenomenal performance gains. Is that true?

When used in the context of a derived table subquery (arguably the most common use), not really...or at least I'm not aware of any.

When used in the context of recursion - it's possible. There are instances where you can use a CTE in place of a "loop" - in that case, a CTE might be faster.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform