I'm topically aware, but not well versed, in the ways that one can write a custom aggregation function for SQL Server in the CLR. I am also just getting into learning LINQ and I am intrigued by the Aggregate function. It seems to me that if one had access to LINQ then writing their own custom aggregate function with SQL Server is unncessary. Is this true? If not, are there any non-fringe cases where one would need to write a custom aggregate function with SQL Server vs using the Aggregate method provided by LINQ?
I don't know if this counts as a fringe case, but any place where it's feasible to get a feed from a database and not feasible to filter it through LINQ is a potential case.
Some I thought of: SSRS reports, SSIS feeds to someplace else, any place where you're making business-logic decisions in a stored procedure (which you quite arguably shouldn't, but people do.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With