Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Statistical Median

Author  Topic 

shwelch
Starting Member

33 Posts

Posted - 2007-02-08 : 20:50:52
Hi,

Does anyone have experience with calculating financial median using sql server 2005? Not the statistical median, but financial. I can do it with row_number for the statistical median, but in cases of even rows, I would need the average of the two middle rows. Is this possible? I can't seem to find many articles other than the statistical median.

Thanks!
   

- Advertisement -