forked from brmlab/brmbar-github
Schema 0009: fix DDL statements ends, fix argument delimiters in second procedure as well
This commit is contained in:
parent
a8a124835c
commit
8d2c9cb20f
1 changed files with 4 additions and 4 deletions
|
@ -52,13 +52,13 @@ EXCEPTION
|
||||||
WHEN NO_DATA_FOUND THEN
|
WHEN NO_DATA_FOUND THEN
|
||||||
RETURN -1;
|
RETURN -1;
|
||||||
END;
|
END;
|
||||||
$$
|
$$;
|
||||||
|
|
||||||
|
|
||||||
-- return negative number on rate not found
|
-- return negative number on rate not found
|
||||||
CREATE OR REPLACE FUNCTION public.find_sell_rate(
|
CREATE OR REPLACE FUNCTION public.find_sell_rate(
|
||||||
IN i_item_id public.accounts.id%TYPE;
|
IN i_item_id public.accounts.id%TYPE,
|
||||||
IN i_other_id public.accounts.id%TYPE;
|
IN i_other_id public.accounts.id%TYPE
|
||||||
) RETURNS NUMERIC
|
) RETURNS NUMERIC
|
||||||
LANGUAGE plpgsql
|
LANGUAGE plpgsql
|
||||||
AS $$
|
AS $$
|
||||||
|
@ -76,7 +76,7 @@ EXCEPTION
|
||||||
WHEN NO_DATA_FOUND THEN
|
WHEN NO_DATA_FOUND THEN
|
||||||
RETURN -1;
|
RETURN -1;
|
||||||
END;
|
END;
|
||||||
$$
|
$$;
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION public.create_transaction(
|
CREATE OR REPLACE FUNCTION public.create_transaction(
|
||||||
i_responsible_id public.accounts.id%TYPE,
|
i_responsible_id public.accounts.id%TYPE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue