-
Recent Posts
- Update from Nikita 2025/04/09
- Help requested for a friend of PASS Summit 2024/11/19
- Registration is open for PASS Data Community Summit! 2022/04/05
- Intelligent Query Processing Session Follow Up 2020/11/16
- Move a VM with Azure Resource Mover 2020/09/24
Categories
- Cloud computing (1)
- Database Administration (7)
- High Availability (1)
- Internals (1)
- Life in IT (33)
- Security (2)
- SQL Server 2016 (3)
- SQL Server Administration (5)
- SSIS (6)
- SSRS (8)
- T-SQL (12)
- T-SQL Window Functions (12)
- Uncategorized (27)


Category Archives: T-SQL Window Functions
How to Use a Window Aggregate in an Aggregate Query
A window aggregate function is an easy way to perform an aggregate calculation without changing the query to an aggregate query. This means that you can calculate an aggregate over the entire dataset while keeping the detail in the results. … Continue reading
Posted in T-SQL, T-SQL Window Functions
Leave a comment
Using Distinct with Window Aggregates
This past Saturday I presented my T-SQL Window Function Performance session at the Atlanta SQL Saturday. There were some interesting questions from the audience that didn’t actually pertain to performance. I didn’t have all the answers since there were some questions … Continue reading
Posted in T-SQL Window Functions
Leave a comment
What is a Windowing Function?
I have been presenting and writing about windowing functions for a couple of years. I am always surprised that many people who don’t know what these are may already be writing queries using them. Every time I present on this … Continue reading
Posted in T-SQL Window Functions
1 Comment
