开发者

SQL Server stored procedure slow in application but fast in SQL Server Management Studio

Merged with SQL Server 2005 stored procedure fast in SSMS slow from VBA.

I have a stored procedure on SQL Server 2005. When running in SQL Server Management Studio, it blindingly fast; but when I run it in a C# program through system.data, or run it in some other programs through ODBC or JDBC driver, they all run for ever or give timeout error. I don't have the access to the details of the stored procedure. what c开发者_开发问答ould be the possible reason for the performance discrepancy? -it is SQL Server Management Studio vs .net/ODBC/JDBC. ( I tried same query in C# for .net, R for ODBC and matlab for JDBC driver.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜