select dbms_job.submit('clean_lcs_staff_cm_relation_job', 'select clean_lcs_staff_cm_relation();','0 0 30 * * ?') jobid; //第一位是分钟,第二位是小时,第三位是天
select * from user_jobs;
select dbms_job.delete(45);//jobid
select dbms_job.submit('clean_lcs_staff_cm_relation_job', 'select clean_lcs_staff_cm_relation();','0 0 30 * * ?') jobid; //第一位是分钟,第二位是小时,第三位是天
select * from user_jobs;
select dbms_job.delete(45);//jobid
转载于:https://www.cnblogs.com/koushr/p/5873387.html