Aug
04
2010
DENSE_RANK() function in MS SQL Server
Category: IT, MS SQL Server, Transact-SQL Tags: IT, Microsoft, SSMS, Transact-SQL Comments: 0As we can read in Books Online in SQL Server
Ranking functions return a ranking value for each row in a partition. Depending on the function that is used, some rows might receive the same value as other rows. Ranking functions are nondeterministic.
I have created simple example for usage of the Ranking function DENSE_RANK().