Query extremely slow in code but fast in SSMS

前端 未结 4 1794
无人及你
无人及你 2020-11-27 07:00

I have a fairly simple query that I keep getting timeouts (it takes over three minutes to complete, I stopped it early so I could post this question) on when it is running i

4条回答
  •  -上瘾入骨i
    2020-11-27 08:01

    Run the profiler on your c# connection - there may be other activity going on that you are not aware of.

提交回复
热议问题