执行存储过程:PL000103错误

时间:2018-02-06 06:05:43

标签: oracle stored-procedures

我正在尝试执行已存在于架构中的存储过程。 重复尝试后,我无法运行查询,因为我遇到以下错误: 错误报告 -

ORA-06550: line 2, column 2:
PLS-00103: Encountered the symbol " " when expecting one of the following:

   begin function pragma procedure subtype type <an identifier>
   <a double-quoted delimited-identifier> current cursor delete
   exists prior
06550. 00000 -  "line %s, column %s:\n%s"
*Cause:    Usually a PL/SQL compilation error.
*Action:

这是我尝试执行的内容:

SET SERVEROUTPUT ON

DECLARE
   P_RESULT_OUT      SYS_REFCURSOR;
   P_ERRORCODE_OUT   NUMBER;
   P_ERRORMSG_OUT    VARCHAR2 (2000);
BEGIN
   NKADM.BSCS_USAGE_QUERY_PKG.ZKSA_BILLED_USAGE_QUERY_SP ('CUST0000000763',
                                                          NULL,
                                                          NULL,
                                                          'ALL',
                                                          '20-04-2018',
                                                          '01-05-2018',
                                                          P_RESULT_OUT,
                                                          P_ERRORCODE_OUT,
                                                          P_ERRORMSG_OUT);
   DBMS_OUTPUT.PUT_LINE (P_ERRORCODE_OUT || '::' || P_ERRORMSG_OUT);
END;
/

0 个答案:

没有答案