Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Content with tag Ranking Functions Rss

   Items 1 to 7 of 7   
 

NTILE

By Kshitij Satpute 2013/08/28 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 2,095 reads

SQL Server Ranking Functions

SQL Server includes a subset of four ranking functions that can be used to rank the rows of your result set over a partition. This article presents those functions and examples of their use.  Read more...
By Additional Articles 2012/03/20 | Source: Database Journal | Category: ranking functions
Rating:  Rate this |   Briefcase | 3,365 reads

Using OVER with an Aggregate Function

By Nakul Vachhrajani 2010/11/04 | Category: t-sql
Rating: (not yet rated) |  Discuss |   Briefcase | 3,129 reads

SQL Server Ranking Functions

A new article from Wayne Sheffield that examines the ranking functions in SQL Server. Learn how you can use ROW_NUMBER(), NTILE(), RANK(), and DENSE_RANK() in your applications.  Read more...
By Wayne Sheffield 2010/04/20 | Source: SQLServerCentral.com | Category: t-sql
Rating: |  Discuss |   Briefcase | 13,569 reads

Exploring SQL 2005’s Ranking Functions – NTILE() and ROW_NUMBER()

Part 20 of the "SqlCredit – Developing a Complete SQL Server OLTP Database Project" examines SQL 2005’s NTILE() and ROW_NUMBER() Ranking Functions.  Read more...
By Additional Articles 2008/11/06 | Source: Database Journal | Category: t-sql
Rating:  Rate this |   Briefcase | 3,841 reads

SqlCredit – Part 19: Exploring SQL 2005’s Ranking Functions – RANK() and DENSE_RANK()

Part 19 digs deep into two of SQL 2005's ranking functions: RANK() and DENSE_RANK(). It includes performance considerations and using CTEs to avoid table variables.  Read more...
By Additional Articles 2008/10/06 | Source: Database Journal | Category: t-sql
Rating:  Rate this |   Briefcase | 3,287 reads

How to use ranking functions in SQL Server 2005

With ranking functions in SQL Server 2005, you can rank rows in result sets. This tip defines rank functions and gives examples of how to use the four available functions.  Read more...
By Additional Articles 2008/07/22 | Source: SearchSQLServer | Category: ranking functions
Rating:  Rate this |   Briefcase | 4,797 reads
   Items 1 to 7 of 7   
 
Tags
t-sql (7)    
ntile (3)    
aggregates (1)    
dense_rank() (1)    
row_number() (1)