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,16 @@
use Leo
go
create proc dbo.proc_CreateTransaction (
@date date, @description varchar(200), @amount decimal(11,2)
)
as
begin
set @date = isnull(@date, getdate())
insert into dbo.BUDGET_DETAIL (TrxDate, TrxDescription, TrxAmount)
select @date, @description, @amount
select SCOPE_IDENTITY()
end
go