错误(7,1):PLS-00103:遇到符号"BEGIN"

ste*_*nie 0 oracle plsql

我是一个新的PL/SQL用户.我尝试创建一个过程并运行它:

create or replace procedure addp1(i in number) is

begin
  insert into t3 values (i,'xxxx');
end addp1;

begin
addp1(99);
end;
Run Code Online (Sandbox Code Playgroud)

但我进入error: Error(7,1): PLS-00103: Encountered the symbol "BEGIN" 了我的日志文件.任何人都可以帮我解决这个问题.谢谢

Mah*_*kar 11

create or replace procedure addp1(i in number) 
is
begin
  insert into t3 values (i,'xxxx');
end addp1;
/* We have to actually push the block to the engine by issuing a '/' */
/

begin
addp1(99);
end;
/* Every PL/SQL Block needs this! */
/
Run Code Online (Sandbox Code Playgroud)