PL/SQL to call:
CREATE OR REPLACE PROCEDURE GETQUOTE(
i_SALES_TYPE IN HR.sales_type,
o_DESCRITPION_TYPE OUT HR.description_type
)
TYPE sales_type
CREATE OR REPLACE TYPE "sales_type"
TYPE description_type
CREATE OR REPLACE TYPE description_type AS TABLE OF VARCHAR2(1000)
OK, with a few assumptions (eg that the o_DESCRIPTION_TYPE parameter can be NULL on input) your calling code should look something like this
DECLARE
in_param sales_type;
out_param description_type;
BEGIN
-- First set up in_param
in_param := sales_type.someConstructor();
-- Now make call
getquote( in_param, out_param );
-- out_param should now be populated
END;
/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.