An FAQ about the window clause in SQL Server Denali
I've been working with the new Denali T-SQL windowing functionality and ran into someone who asked about this "problem". It's almost sure to become an FAQ. Why does last_value not always "work right"?...
View ArticleDenali window clause followup question
So, quickly on the heels of the first window clause and last_value() question, came a followup: OK smartie, why does last_value work fine here? I didn't have to change from the default window. What...
View ArticleRemember: LAG function in SQL Server Denali uses rows
You've heard my rant before "measure what you think you are measuring". If not, follow the link . Here's an example using the LAG function, new in SQL Server Denali, to measure sales trends. We'll...
View ArticleWindow clause, range specification, and missing values
In the previous post , I insinuated that allowing LAG/LEAD to be sensitive to value RANGEs might help with series of data with missing values. It won't do that unless there's some logic that allows the...
View ArticleSQL Azure "version 11" arrives on my server
I've been trying this out every day or so since I'd heard about the update (originally named the July 2011 Service Release ), but I'd forgotten about it for about a week. So I don't exactly know when...
View ArticleSQL Denali T-SQL features in SQL Azure now
Earlier this month I noticed that SQL Azure, with the latest upgrade has a version of 11...something (actually 11.0.1467.26, to be exact). And I wondered, aside from the long-touted new spatial...
View Article
More Pages to Explore .....