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
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);
过程定义后缺少 /