Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #2217

Re: Custom window functions

From Erland Sommarskog <esquel@sommarskog.se>
Newsgroups comp.databases.ms-sqlserver
Subject Re: Custom window functions
Date 2023-05-26 21:00 +0200
Organization Erland Sommarskog
Message-ID <XnsB010D5B895E56Yazorman@127.0.0.1> (permalink)
References <20230522123254.38c0b664930a7bc595f60a3a@g{oogle}mail.com> <XnsB00DD51AA11A2Yazorman@127.0.0.1> <20230525183854.3b73cd327e64ae145fe48c5b@g{oogle}mail.com> <XnsB00FDA3D4FBEFYazorman@127.0.0.1>

Show all headers | View raw


Erland Sommarskog (esquel@sommarskog.se) writes:
> However, I need to add a caveat here: The fact that this runs might 
> be a bug. I seem to recall that there is something about CLR 
> aggregates and ordering. That is, if this runs but produces an 
> incorrect result, this is not good. Then again, my aggregate is
> supposed to return an ordered result, and it seems to do with my
> test query. But that may be due to chance.
> 
> I will need to bring this up with some people at Microsoft.
> 

An MVP colleague was kind to point me to 
https://learn.microsoft.com/en-
us/dotnet/api/microsoft.sqlserver.server.sqluserdefinedaggregateattribute.is
invarianttoorder?view=sqlclient-server-dotnet-1.0
which suggest that there is something hiding here.

Back to comp.databases.ms-sqlserver | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Custom window functions Anton Shepelev <anton.txt@g{oogle}mail.com> - 2023-05-22 12:32 +0300
  Re: Custom window functions Erland Sommarskog <esquel@sommarskog.se> - 2023-05-23 20:56 +0200
    Re: Custom window functions Anton Shepelev <anton.txt@g{oogle}mail.com> - 2023-05-25 18:38 +0300
      Re: Custom window functions Erland Sommarskog <esquel@sommarskog.se> - 2023-05-25 21:27 +0200
        Re: Custom window functions Erland Sommarskog <esquel@sommarskog.se> - 2023-05-26 21:00 +0200
          Re: Custom window functions Anton Shepelev <anton.txt@gmail.moc> - 2023-05-26 22:55 +0300

csiph-web