use Leo
go

create view dbo.vw_BUDGET_RUNNING_BAL 
as 
select 
	BDT_DATE, BDT_DESCRIPTION, BDT_AMOUNT
	, sum(BDT_AMOUNT) over(order by BDT_DATE, BDT_AMOUNT desc rows unbounded preceding) RUNNING_BAL
from dbo.BUDGET_DETAIL