moving to postgres

This commit is contained in:
Peter Wood
2023-03-04 18:23:05 -05:00
parent 477bfe3cfb
commit 9348a36809
20 changed files with 126 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 TrxId, TrxDate, TrxDate_ISO8601, TrxDescription, TrxAmount, RunningBal
from dbo.vw_BudgetRunningBalance
where
YEAR(TrxDate) = @yr
and MONTH(TrxDate) = @mo
end
go