testing new function and updated proc

This commit is contained in:
Peter Wood
2023-03-05 07:54:04 -05:00
parent 1fd8fa7432
commit f07d5a4c7c

View File

@@ -1,11 +1,15 @@
/* select get_account_id('Bank of America', '4581')
CALL public.import_budget_from_csv(); CALL public.import_budget_from_csv();
CALL public.update_budget_from_import(); CALL public.update_budget_from_import('bank of america', '4581');
select 'Import' as TBL, count(1) as REC_CNT from public.budgetimport select 'Import' as TBL, count(1) as REC_CNT from public.budgetimport
union all union all
select 'Detail' as TBL, count(1) as REC_CNT from public.budgetdetails; select 'Detail' as TBL, count(1) as REC_CNT from public.budgetdetails;
*/
select acct_id, count(1)
from public.budgetdetails b
group by acct_id
select select
@@ -42,3 +46,5 @@ where
current_date + interval '3 weeks' current_date + interval '3 weeks'
)::date )::date
; ;