CREATE OR REPLACE PROCEDURE REPORT AS 
V_SUM NUMBER;
BEGIN
 CURSOR C1 IS SELECT * FROM PARAMETER;
  BEGIN
     FOR cur_result in cur LOOP
      BEGIN
       V_SUM := P_COURSE_ID;
      END;
     END LOOP;
END REPORT;
================================
Error(4,9): PLS-00103: Encountered the symbol "C1" when expecting one of the following:     := . ( @ % ; 提示C1有问题。存储过程