Hi David,
Many years later... I'm interested in iteratively using regressions over up to 1000 lines within a table that contains millions lines. I'm wondering if you achieved to explain why SQL uses the SORT? Also, were you able to achieve better performance with your CLR-aggregate function?
Thank you !