zoukankan      html  css  js  c++  java
  • oracle job定时执行存储过程

     JOB定时跑插入语句
    1、建插入数据的存储过程
    create or replace procedure report_web as
    V_START_DATE DATE;
    V_END_DATE  DATE;
    begin
    V_START_DATE := TRUNC(SYSDATE) - 1;
    V_END_DATE    := TRUNC(SYSDATE);
    begin
    insert into report_web_doctor@HMP
    select * from report_web_doctor a
    where a.last_update_dtime >= V_START_DATE
    and a.last_update_dtime <= V_END_DATE;
    commit;
    insert into report_web_info@HMP
    select * from report_web_info b
    where b.last_update_dtime >= V_START_DATE
    and b.last_update_dtime <= V_END_DATE;
    commit;
    end;
    end;
    2、可视化建JOB
  • 相关阅读:
    ConcurrentHashMap源码阅读
    java中Scanner类nextLine()和next()的区别和使用方法
    setuid
    lsattr
    设置umask
    touch
    od
    vi 搜索
    nl
    cat 参数
  • 原文地址:https://www.cnblogs.com/wdw31210/p/6405876.html
Copyright © 2011-2022 走看看