RANK
Description
Returns the rank of each row within the partition of a result set. The rank of a row is one plus the number of ranks that come before the row in question. (RANK in Transact-SQL).
Sample Source Pattern
Syntax
RANK ( ) OVER ( [ partition_by_clause ] order_by_clause ) RANK( )
-- ** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '1' COLUMN '9' 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
