错误(7,1):PLS-00103:在执行以下操作时遇到符号“EXECUTE”[重复]

问题描述 投票:0回答:1
Error(7,1): PLS-00103: Encountered the symbol "EXECUTE"

在进行以下操作时

SET SERVEROUTPUT ON;
CREATE OR REPLACE PROCEDURE WELCOME(SURNAME IN VARCHAR2,KAKSHA IN VARCHAR2)
IS
BEGIN
dbms_output.put_line('SURNAME IS' ||SURNAME|| 'KAKSHA IS'||KAKSHA);
END;

EXECUTE WELCOME('GHAGARE',10);

我的预期输出是

SURANAME IS GHAGARE KAKSHA IS 10

oracle plsql
1个回答
0
投票
SET SERVEROUTPUT ON; 
CREATE OR REPLACE PROCEDURE WELCOME(SURNAME IN VARCHAR2,KAKSHA IN VARCHAR2) IS BEGIN dbms_output.put_line('SURNAME IS' ||SURNAME|| 'KAKSHA IS '||KAKSHA); END;
/

EXECUTE WELCOME('GHAGARE',10);

过程定义后缺少 /

© www.soinside.com 2019 - 2024. All rights reserved.