Sample:
(colvar is of type VARRAY(10))
DECLARE
INPUTCOLLECTION colvar;
INPUTVAL NUMBER;
OUTPUTRESULTS colvar;
BEGIN
-- INPUTCOLLECTION := NULL; Modify the code to initialize this parameter
INPUTVAL := 1;
-- OUTPUTRESULTS := NULL; Modify the code to initialize this parameter
MATHEW.TEST_COLLECTION2 ( INPUTCOLLECTION, INPUTVAL, OUTPUTRESULTS );
COMMIT;
END;
This anonymous code block is what Toad runs to debug your proc. It declares the parameters required, and you initialize it by editing the commented section:
INPUTCOLLECTION := colvar(11, 22, 33, 44, 55); --Modify the code to initialize this parameter
INPUTVAL := 1;
-- OUTPUTRESULTS := NULL; Modify the code to initialize this parameter
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center