Getting the following Error Message when run ORACLE Query in TEXT Tab.
Error in sql query: ORA-06550: line 10, column 29:
PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following: ;
Declare
CURSOR c1
IS
SELECT a
FROM XXXX
WHERE fy = 2015
MINUS
SELECT a
FROM YYYY
WHERE end_date IS NULL;
BEGIN
FOR rec IN c1
LOOP
fa_xxx_pkg.process_rules_appl(rec.appl_id);
END LOOP;
END;