December 2013
Intermediate to advanced
1872 pages
153h 31m
English
A highly specialized feature of SQL Server 2012, managed user-defined aggregates (UDAs) provide the capability to aggregate column data based on user-defined criteria built in to .NET code. You can now extend the (somewhat small) list of aggregate functions usable inside SQL Server to include those you custom-define.
Note
If you’ve been following the examples in this chapter sequentially, at this point, you need to drop the sample table dbo.RegexTest to redeploy the assembly after creating the UDA example.
The implementation contract for a UDA requires the following:
A static method called ...