ITeye博客

plsql 过程

1336224635 · 2012-07-17 16:51 · oracle · 数据库 · Markdown


 解析:

create procedure sp_pro3(spName varchar2,newSal number)  is  ---不用指定number的大小,只指定类型就

//执行部分

begin

update emp set sal=newSal where ename=spName;

end;

/

 

exec sp_pro3('SCOTT','4678');

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。