mirror of
https://github.com/acedanger/budget-database.git
synced 2025-12-05 22:50:13 -08:00
corrected column names in get_account_id function for consistency
This commit is contained in:
@@ -20,8 +20,8 @@ select acct.acct_id
|
|||||||
into _account_id
|
into _account_id
|
||||||
from public.accounts acct
|
from public.accounts acct
|
||||||
where
|
where
|
||||||
lower(acct.bank_name) = lower(p_bank_name)
|
lower(acct.acct_bank_name) = lower(p_bank_name)
|
||||||
and lower(acct.account_number) = lower(p_bank_account_number);
|
and lower(acct.acct_number) = lower(p_bank_account_number);
|
||||||
|
|
||||||
raise notice 'RETURN VALUE: _account_id = %', _account_id;
|
raise notice 'RETURN VALUE: _account_id = %', _account_id;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user