DENSE_RANK
Description
This function returns the rank of each row within a result set partition, with no gaps in the ranking values. The rank of a specific row is one plus the number of distinct rank values that come before that specific row. (DENSE_RANK in Transact-SQL).
Sample Source Pattern
Syntax
DENSE_RANK ( ) OVER ( [ <partition_by_clause> ] < order_by_clause > ) DENSE_RANK( )
-- ** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '1' COLUMN '15' OF THE SOURCE CODE STARTING AT 'OVER'. EXPECTED 'BATCH' GRAMMAR. CODE '80'. **
-- OVER ( [ <partition_by_clause> ] < order_by_clause > )Examples
Code:
Result:
Code:
Result:
Related EWIs
SSC-EWI-0001: Unrecognized token on the line of the source code.
Last updated
