.net - SQL Server stored procedure slow in application but fast in SQL Server Management Studio -


i have stored procedure on sql server 2005. when running in sql server management studio, blindingly fast; when run in c# program through system.data, or run in other programs through odbc or jdbc driver, run ever or give timeout error. don't have access details of stored procedure. possible reason performance discrepancy? -it sql server management studio vs .net/odbc/jdbc. ( tried same query in c# .net, r odbc , matlab jdbc driver.)


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -