简单的存储过程问题

wyarrant 2003-07-28 09:45:55
初写存储过程,不知道错在哪里,帮帮忙
create or replace procedure test
is
test number;
begin
test:=7;
end
...全文
15 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
dihai2000 2003-07-28
  • 打赏
  • 举报
回复
Sho errors
报什么错误
lianhg 2003-07-28
  • 打赏
  • 举报
回复
没什么问题呀?!
beckhambobo 2003-07-28
  • 打赏
  • 举报
回复
SQL> create or replace procedure test
2 is
3 test number;
4 begin
5 test:=7;
6 end
7 ;
8 /

Procedure created
tob 2003-07-28
  • 打赏
  • 举报
回复
end 后面加上 test;就ok了
wyarrant 2003-07-28
  • 打赏
  • 举报
回复
只是报有错误
compile with errors
没说在哪一行

17,086

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧