Why does proc run faster with “WITH RECOMPILE” even after it was just recompiled?

后端 未结 0 1974
走了就别回头了
走了就别回头了 2021-01-22 04:26

I had a proc that took 40 seconds to run. So I ran exec myproc WITH RECOMPILE and it took less than a second. I tried running exec myproc directly afte

相关标签:
回答
  • 消灭零回复
提交回复
热议问题