ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 5000提交一次

5000提交一次

原创 Linux操作系统 作者:idtbbsb 时间:2011-02-21 16:36:55 0 删除 编辑

老朱写了一个存过,每5000提交一次,植入值

朱明华9608 12:59:50
         CURSOR cur_ifchrg IS
 select c_rcpt_no
 from t_fin_plyedr_coldue
 Where substr(c_prod_no,1,2) not in ('06','08','03')
 and n_got_prm =0
 --and c_ply_no='100603050026010'
 and (c_arp_flag is null or c_arp_flag<>'9')
 AND C_PLY_NO LIKE '1%' and c_bala_mrk='0';


BEGIN


 /*3更改接口表标识*/
        OPEN cur_ifchrg;
        LOOP
            FETCH cur_ifchrg INTO v_rcpt_no;
            EXIT WHEN cur_ifchrg%NOTFOUND;

            update t_fin_plyedr_coldue
            set c_arp_flag='9'
            where c_rcpt_no=  v_rcpt_no;
            commit;

        END LOOP;
        CLOSE cur_ifchrg;
朱明华9608 13:23:00
     CURSOR cur_ifchrg IS
 select c_rcpt_no
 from t_fin_plyedr_coldue
 Where substr(c_prod_no,1,2)  in ('06','08','03')
 and n_got_prm =0
 --and c_ply_no='100603050026010'
and c_arp_flag='9'
 AND C_PLY_NO LIKE '1%' and c_bala_mrk='0';


BEGIN


 /*3更改接口表标识*/
        OPEN cur_ifchrg;
        LOOP
            FETCH cur_ifchrg INTO v_rcpt_no;
            EXIT WHEN cur_ifchrg%NOTFOUND;

            update t_fin_plyedr_coldue
            set c_arp_flag='0'
            where c_rcpt_no=  v_rcpt_no;
            commit;

        END LOOP;
        CLOSE cur_ifchrg;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10985515/viewspace-687629/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: dsg
请登录后发表评论 登录
全部评论

注册时间:2011-02-10

  • 博文量
    6
  • 访问量
    6213