ROW_NUMBER « Analytical Functions « SQL Server / T-SQL Tutorial






14.9.ROW_NUMBER
14.9.1.ROW_NUMBER function returns the sequential number of a row within a result set, starting at 1 for the first row.
14.9.2.Using an Incrementing Row Number