Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Going parameterized causes problem
Message
De
30/09/2008 17:34:33
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01351844
Message ID:
01351939
Vues:
29
>The OPTION (RECOMPILE) tells the SQL Server Query Processor to not cache the query plan. As result every new parametrized query gets new execution plan instead of reusing a previous one that may not be optimized for the current parameters values.
>For a simple query producing new execution plan should be cheap compare to the performance lost. It could be not the case for a complex one.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform