Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A couple posts---and a long time---ago, I wrote about computing medians in T-SQL. Adam Mechanic has a new post on his blog that explores a few other solutions. It looks like the better of the two, which he credits to Joe Celko, bests my solution by a bit. Your mileage may vary.
Cheers,
-Isaac