码迷,mamicode.com
首页 > 数据库 > 详细

Oracle存储过程Procedure语法及案例

时间:2014-07-24 22:42:43      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   color   re   c   div   ar   

create or replace procedure replace(desstr           in varchar2,
                                    replacestr       in varchar2,
                                    tablename        in varchar2,
                                    strgranularity   in varchar2,
                                    strorgankey      in varchar2,
                                    strstatisticdate in date) is
begin
  update t41_systemcal_upday t1
     set t1.calchar = replace(t1.calchar, desstr, replacestr)
   where t1.itemkey like tablename
     and t1.granularity = strgranularity
     and t1.statisticdate = strstatisticdate
     and t1.organkey = strorgankey;
end replace;

Oracle存储过程Procedure语法及案例,布布扣,bubuko.com

Oracle存储过程Procedure语法及案例

标签:des   style   blog   color   re   c   div   ar   

原文地址:http://www.cnblogs.com/liudi1992/p/3866432.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!