我想在SQL文件中创建多个过程,即:
create or replace procedure pro1 as
begin
null;
end pro1;
create or replace procedure pro2 as
begin
null;
end pro2;
create or replace procedure pro3 as
begin
null;
end pro3;
这样做会引发错误:
错误(10,1):PLS-00103:遇到符号“CREATE”
我该怎么做?由于某些限制,创建包不是一个选项。
答案 0 :(得分:12)
添加/
create or replace procedure pro1 as
begin
null;
end pro1;
/
create or replace procedure pro2 as
begin
null;
end pro2;
/
create or replace procedure pro3 as
begin
null;
end pro3;
/