create or replace procedure Test_Dept(param1 in NUMBER,param2 in VARCHAR2,param3 in VARCHAR2) as
begin
insert into DEPT(DEPTNO,DNAME,LOC)values(param1,param2,param3);
end Test_Dept
begin
insert into DEPT(DEPTNO,DNAME,LOC)values(param1,param2,param3);
end Test_Dept
PROCEDURE SCOTT.TEST_DEPT 编译错误
错误:PLS-00103: 出现符号 "end-of-file"在需要下列之一时:
;
符号 ";" 被替换为 "end-of-file" 后继续。
行:5
或者在pl/sql中
declare
begin
Test_Dept(1,2,3);
end;
begin
TEST_DEPT(70,'zhou','zhigang');
commit;
end;