先定义job
variable job number
然后在执行如下语句
begin
sys.dbms_job.submit(job=>:job,
what=>'get_table_history_stats;',
next_date=>to_date('17-10-2012 06:09:00','dd-mm-yyyy hh24:mi:ss'),
interval=>'sysdate+1');
commit;
end;
[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24237320/viewspace-1059606/
,如需转载,请注明出处,否则将追究法律责任。