当前位置: 代码迷 >> Oracle开发 >> 简单的存储过程编译异常。why?
  详细解决方案

简单的存储过程编译异常。why?

热度:81   发布时间:2016-04-24 06:59:00.0
简单的存储过程编译错误。why??
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

------解决方案--------------------
 要仔细啊
------解决方案--------------------
直接在命令窗口 call  Test_Dept(1,2,3)
或者在pl/sql中
declare
 begin
    Test_Dept(1,2,3);
end;
  相关解决方案