user-defined-aggregate
SQL user defined aggregate order of values preserved?
Im using the code from this MSDN page to create a user defined aggregate to concatenate strings with group by\'s in SQL server. One of my requirements is that the order of the concatenated values are[详细]
2023-03-17 12:07 分类:问答Rounding error with SQL CLR extension (user-defined aggregate)
I\'m writing some custom .Net extensions for SQL Server 2008. One of them is a user-defined aggregate that should aggregate a set of decimal numbers to a decimal value.[详细]
2023-02-14 05:11 分类:问答SQL Server user-defined aggregate returns an error if aggregating 0 rows
I have this SQL Server user-defined aggregate: [SqlUserDefinedAggregate(Format.UserDefined, Name=\"median\", IsInvariantToDuplicates=false, IsInvariantToNulls=true, IsInvariantToOrder=true, IsNullIfE[详细]
2022-12-15 10:26 分类:问答