initial commit

This commit is contained in:
Peter Wood
2022-07-15 15:37:20 -04:00
parent 70a85b6024
commit 27e7c7829c
13 changed files with 249 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
use Leo
go
alter proc dbo.proc_GetTransactions (
@yr smallint = null, @mo smallint = null
)
as
begin
set @yr = isnull(@yr, year(getdate()))
set @mo = isnull(@mo, month(getdate()))
select Id, TrxDate, TrxDate_ISO8601, TrxDescription, TrxAmount, RunningBal
from dbo.vw_BudgetRunningBalance
where
YEAR(TrxDate) = @yr
and MONTH(TrxDate) = @mo
end
go