Sign in
AndyRoberts
Options
Blog Home
RSS for posts
Atom
RSS for comments
OK
Search
Tags
No tags have been created or used yet.
Archive
Archives
August 2011
(2)
July 2011
(2)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
AndyRoberts
More Fun with SQL Server “Denali” Window Functions
Posted
over 2 years ago
by
_Andy Roberts_
0
Comments
In my last post I described scenarios where the improvements to the SQL Server “Denali” windows functions could address a common scenario of getting year to date sales from a list of monthly amounts. In this post we will explore a couple...
AndyRoberts
Re-summarizing data using UNPIVOT, ROW_NUMBER and CTEs–Denali Style
Posted
over 2 years ago
by
_Andy Roberts_
0
Comments
Last month I did a write up on a common scenario that I have seen with my customers where data needs to be re-summarized and the customer would like to avoid writing data into intermediate tables. For example, they may receive a flat file from an external...
AndyRoberts
Re-summarizing data using UNPIVOT, ROW_NUMBER and CTEs
Posted
over 2 years ago
by
_Andy Roberts_
1
Comments
I had a question recently where a customer was presented a set of tables summarized by month and he was asked to re-summarize the data giving year to date summaries. This was a “one time” request so we wanted to get results quickly and then refine the...
AndyRoberts
Finding holes in number sequences using CTEs and Ranking functions
Posted
over 2 years ago
by
_Andy Roberts_
0
Comments
I have had a number of customers looking to manage number sequences for various scenarios. An example might be purchase order numbers where multiple systems need to “reserve” batches of PO Numbers. For example, an application may need to run...
Page 1 of 1 (4 items)