SqlDataAdapter.Fill method slow

后端 未结 5 1308
暖寄归人
暖寄归人 2020-11-28 05:45

Why would a stored procedure that returns a table with 9 columns, 89 rows using this code take 60 seconds to execute (.NET 1.1) when it takes < 1 second to run in SQL Ser

5条回答
  •  春和景丽
    2020-11-28 06:35

    I ran into the same issue, but when I've rebuilt indexes on SQL table, it worked fine, so you might want to consider rebuilding index on sql server side

提交回复
热议问题