SQL Server – "Denali" – PERCENT_RANK() Analytic Function

added by jacobsebastian
9/1/2011 4:27:19 AM

105 Views

PERCENT_RANK() returns the position of a row within the result set. In contrast to RANK() function, PERCENT_RANK() ranks rows between 0 and 1, both inclusive. Computation formula used by PERCENT_RANK(): (RANK() – 1) / (Number of Rows – 1)...


0 comments