New Analytic Functions (Transact-SQL) in SQL Server 2012


SQL Server 2012 introduces some analytic functions to compute moving averages,
running totals, percentages or top-N results within a group.
Here is the list of them:

CUME_DIST
LEAD
LAG 
FIRST_VALUE
LAST_VALUE 
PERCENTILE_CONT
PERCENTILE_DISC
PERCENT_RANK  

The link:
http://msdn.microsoft.com/en-us/library/hh213234(v=sql.110).aspx

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s