DECLARE
p_code in XML_HOURS_LOAD.code%TYPE,
p_product in XML_HOURS_LOAD.product%TYPE;
CURSOR cXmlHoursLoadCursor IS (SELECT code, product FROM xml_hours_load);
BEGIN
FOR v IN cXmlHoursLoadCursor LOOP
Cascade_Load(v.code, v.product);
COMMIT;
END LOOP;
END;
I am currently encountering the following errors when trying to run the above code, what am I doing wrong? (thanks in advance):
ORA-06550: line 2, column 29: PLS-00103: Encountered the symbol "IN" when expecting one of the following:
constant exception table long double ref char time timestamp interval date binary national character nchar ORA-06550: line 2, column 74: PLS-00103: Encountered the symbol "," when expecting one of the following:
. ( * @ % & - + / at loop mod remainder rem .. || multiset ORA-06550: line 5, column 4: PLS-00103: Encountered the symbol "IS" when expecting one of the following:
:= . ) , @ % default character ORA-06550: line 13, column 4: PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
end not pragma final instantiable order overriding static member constructor map 06550. 00000 - "line %s, column %s:\n%s" *Cause: Usually a PL/SQL compilation error. *Action: