.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SqlUserDefinedAggregateAttribute.MaxByteSize bug?

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :Sql Server
I'm coding a script generator for my project that will emit all the SQL code necessary to install my SQL CLR object. (No, VS deploy is not enough, sorry.) When I try to reflect my classes looking for the aggregates I call Type.GetCustomAttributes to see if the struct is an aggregate. However, when the MaxByteSize property of the attribute is set to -1 (no limit on aggregate state size) I get an exception. I looked into the disassembly of System.Data.DLL and the boundary check is indeed there though SQL server is supposed to handle aggregates larger than 8000 bytes. Any clues,

View Complete Post

More Related Resource Links

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend