SQL Server - Get Nth Highest using ROW_NUMBER() Function (syedarizvi.blogspot.com)
submitted by
ahmer75(110) 1 year, 5 months ago
ROW_NUMBER function was introduced in SQL Server 2005. ROW_NUMBER as the name suggests is used to calculate row numbers in the query result set.
Prior to ROW_NUMBER developers relied on temporary tables and co-related sub-queries to accomplish the same, which often resulted in spaghetti code and overall bad query performance.
|
category: Database
|
Views: 37
tags:
SQLServer SQL Database another
Everyones tags:
Your Tags: