PDA

View Full Version : Using IMSL .NET (C#) for SQL Server Custom Aggregates



totallyunimodular
04-22-2011, 10:36 AM
Does anyone have any experience writing User Defined Aggregates for SQL Server that call IMSL .NET routines? A simple use case would be calling the IMSL .NET Summary class to get statistics like the median, rather than having to write your own functions in SQL.

There is a nice overview of using C# for SQL Server aggregates here (http://www.cmbwebsites.com/sql-server-median-function/)