Oracle存储过程Procedure语法及案例

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语法及案例

上一篇:MongoDB 的聚集操作


下一篇:Oracle常用语法