https://ajaydwivedi.com/tsql/common-myth-loop-is-faster-than-cursor/
Common Myth: Loop is Always Faster than Cursor