+ -
当前位置:首页 → 问答吧 → oracle 基础 Warning: Procedure created with compilation errors

oracle 基础 Warning: Procedure created with compilation errors

时间:2011-12-16

来源:互联网

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

作者: w123c1   发布时间: 2011-12-16

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

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

作者: yixilan   发布时间: 2011-12-16

我把is换为as 就OK了 不懂这是为什么 我是在pl/sql命令窗口 呵呵

作者: w123c1   发布时间: 2011-12-16

OR REPLACE
http://blog.csdn.net/a416090287/article/details/6911493

作者: xpingping   发布时间: 2011-12-16

引用 2 楼 w123c1 的回复:
我把is换为as 就OK了 不懂这是为什么 我是在pl/sql命令窗口 呵呵

语法就是那样儿的

作者: yixilan   发布时间: 2011-12-16

热门下载

更多