Recursion with CTE not working for non-consecutive days but very slow with ROW_NUMBER

前端 未结 0 412
执念已碎
执念已碎 2020-12-04 18:08

I have to calculate Exponential Moving Average for stock price. In the query I made the recursion based on the PriceDate. But this is actually not working since there are mi

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