Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-10-09 : 07:59:23
|
| Art writes "I used sqlserver 2000 and need accumulate dataI have attach data as belowId Date Total 6001223 2003-10-01 00:00:00.000 106001223 2003-11-01 00:00:00.000 106001223 2003-12-01 00:00:00.000 10How I accumulate the total for new column likeId Date Total Acc6001223 2003-10-01 00:00:00.000 10 10 6001223 2003-11-01 00:00:00.000 10 20 6001223 2003-12-01 00:00:00.000 10 30Please helpRegards,Sittidach Tansongcharoen" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2003-10-09 : 07:59:58
|
| You're looking for a running total:http://www.sqlteam.com/item.asp?ItemID=3856 |
 |
|
|
|
|
|