Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference between Stored Procs and UDFs
Message
De
08/09/2014 15:08:56
 
 
À
08/09/2014 14:37:51
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2014
Application:
Web
Divers
Thread ID:
01607164
Message ID:
01607185
Vues:
57
>It still lasts. Until all stored procedures are natively compiled - into what - CLR? - then both sprocs and queries continue to use the cached plans.

Oh I know, was just needling a bit.

They're compiled into the CLR at the time they're created, so plans are defined at create time as opposed to invocation time.

Again, it's somewhat of a niche feature, one where you definitely have to hit a sweet spot. But when you hit it, the performance gains are significant.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform