April 22, 2009 10:22 PM

Subqueries and Joins for Running Aggregates

Use these solutions for small partitions
Rating: (0)
SQL Server Magazine
InstantDoc ID #101623
Executive Summary:
Both the subquery and join solutions perform reasonably well for calculating running aggregates when you have very small partitions. Because the subquery-based approach requires a separate scan of the data for each aggregate, the join approach is best for calculating multiple aggregates.

...

You must be a paid Professional Member to access this entire article.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Monthly or Annual

Professional Membership

VIP Membership

Compare Member Benefits

Add a Comment

Very good explanation about the details os SQL Server.
I would love if the articles comes with a rate that indicate it's level, something simple like (begginer, intermediate, advanced) would be wonderful.

Take Care!

Marcos5/20/2009 10:34:17 AM


You must log on before posting a comment.

Are you a new visitor? Register Here

Windows Event 333->

We have a VM that has 8GB memory and is running Windows 2003 Enterprise Server 32bit and SQL Server 2000 SP4.Making no changes the system runs fine an...222-96226

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS