日期:2014-05-17  浏览次数:24792 次

oracle 基础 Warning: Procedure created with compilation errors
create procredure
  5  
  9  
  9 create procedure sp_pro2 is
 10 begin
 11 insert into mytest values ('韩三平','123');
 12 end;
 13  


在plsql命令窗口创建存储过程 报错 Warning: Procedure created with compilation errors

------解决方案--------------------
你还在命令窗口,执行一下:
show errors;
看看有什么错误。

不过,一般语法是这样的:
SQL code
create or replace procedure
is
begin
exception when others then
end;

------解决方案--------------------
OR REPLACE
http://blog.csdn.net/a416090287/article/details/6911493
------解决方案--------------------
探讨
我把is换为as 就OK了 不懂这是为什么 我是在pl/sql命令窗口 呵呵

------解决方案--------------------
is 也是正确的吧。 你拿到plsqldev里面编译一下看看报什么错误。