Technical Article

Progressive Sums in T-SQL

A common problem in sql is how to calculate and process, for the current row, information that is based on the results (sum, product, difference, etc) of the rows read so far.A solution (we use) to this problem is to create a self join query based on the primary key using the condition of "greater […]

2 (1)

You rated this post out of 5. Change rating

2006-03-23 (first published: )

414 reads

Blogs

Master SQL Subqueries with This Free Course

By

Want to boost your SQL game? Check out this free course, SQL Subqueries: Real-World...

Removing the REST Endpoint in the Data API Builder

By

The more I work with the Data API Builder (DAB), the more I lean...

T-SQL Tuesday #182: Personal Integrity

By

It’s time for the first T-SQL Tuesday blog of 2025, with an invite from...

Read the latest Blogs

Forums

TDE for multiple databases and severs

By sqlfriend

We are self hosting sql servers, we are not using Azure for sql servers....

Help with parent/child query please

By Mr. Holio

Hi everyone, Trying to get this data to the following format but I can't...

The user data source credentials do not meet the requirements to run this report

By mceventphoto

I am trying to implement a SSRS reporting dashboard similar to the SQL-performance-dashboard-reports that...

Visit the forum

Question of the Day

Sparse Column Storage

When does a column declared as SPARSE use no storage?

See possible answers