我是一名新的PL / SQL用户。我尝试创建一个过程并运行它:
create or replace procedure addp1(i in number) is
begin
insert into t3 values (i,'xxxx');
end addp1;
begin
addp1(99);
end;
但是我的日志文件中有error: Error(7,1): PLS-00103: Encountered the symbol "BEGIN"
。任何人都可以帮我解决这个问题。
感谢
答案 0 :(得分: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! */
/