Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More on performance issue
Message
 
 
À
13/10/2008 11:42:40
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01354488
Message ID:
01354623
Vues:
24
>Ok, based on your other message, basically, if sp_executesql makes a better use of the execution plan, then, would it be better to use this approach instead of using the SQLParameter object to create parameters and use a regular SQL command through the SQLClient data provider to access SQL Server?

When parameters are used with SQL Server ODBC driver, they end up to be passed to the sp_executesql with a query itself. I don't know what .NET provider does. That's why I suggested to use SQL Server Profiler to see what actual SQL statement sent to the SQL Server from your application. It could be the sp_executesql as well.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform