SQL Server: While loop takes a long time (12 seconds) to process just only 2000 records

前端 未结 0 1827
一向
一向 2020-12-19 01:05

I have to iterate through a set of records using while loop. But using while loop it takes about 12 seconds for just 2000 records.

I created a temporary table #

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