If I understand the question correctly, one simple way is to use running calculations introduced in SQL Server 2012. Consider the following example
CREATE TABLE #Transactions (
TransactionDate date,
TransactionDescription varchar(100),
Debit decimal,
Credit decimal
);
INSERT INTO #Transactions VALUES
('04/01/2012', 'Savings', 0.00, 2000.00),
('04/01/2012', 'withdrawal', 750.00, 0.00),
('04/16/2012', 'Savings', 0.00, 8400.00),
('04/20/2012', 'Savings', 0.00, 400.00);
SELECT t.TransactionDate, t.TransactionDescription, SUM(t.Credit-t.Debit) OVER (ORDER BY t.TransactionDate, t.TransactionDescription) AS Balance
FROM #Transactions t
ORDER BY t.TransactionDate, TransactionDescription;
The query gives the following result
TransactionDate TransactionDescription Balance
--------------- ---------------------- -------
2012-04-01 Savings 2000
2012-04-01 withdrawal 1250
2012-04-16 Savings 9650
2012-04-20 Savings 10050
You can find some alternative ways in
Calculating simple running totals in SQL Server[
^]