时间:2021-07-01 10:21:17 帮助过:1079人阅读
CREATE OR REPLACE PACKAGE BODY PKG_SHOW_CUST_DETAILS
AS
PROCEDURE SHOW_CUST_DETAILS(myArg VARCHAR2)
IS
BEGIN
DBMS_OUTPUT.PUT_LINE(myArg);
END SHOW_CUST_DETAILS;
END PKG_SHOW_CUST_DETAILS;
/
如上面代码 很简单的创建packge 编译的时候会出现
Error: PLS-00103: Encountered the symbol "CREATE" when expecting one of the following:
( begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
解决办法
代码作为一个脚本来执行,需要在每个create完毕之后添加一个 ‘/‘ ,即可解决问题
PLSQL碰到pls-00103的错误解决办法
标签:when arc following 添加 plsql ret ase bms 需要