Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Ranking Functions   (RSS)

Ranking Functions: RANK, DENSE_RANK, and NTILE

In my previous post , I discussed the ROW_NUMBER ranking function which was introduced in SQL Server 2005. In this post, I'll take a look at the other ranking functions - RANK, DENSE_RANK, and NTILE. Let's begin with RANK and DENSE_RANK. These functions
Posted by craigfr | 0 Comments

Ranking Functions: ROW_NUMBER

SQL Server 2005 introduced four new functions, ROW_NUMBER, RANK, DENSE_RANK, and NTILE that are collectively referred to as ranking functions. These functions differ from ordinary scalar functions in that the result that they produce for a given row depends
Posted by craigfr | 1 Comments
Filed under:
 
Page view tracker