日期:2014-05-16 浏览次数:20545 次
//create table
?create table getSysDate(test date);?
?
//create procedure
create or replace procedure insertSysDate as begin insert into getSysDate values (sysdate); end ;
?//create job
declare job1 number; begin dbms_job.submit(job1,'insertSysdate;',sysdate,'sysdate+1/1440');//每份钟插入系统时间 commit; end;
?
?
详细了解:http://www.cnblogs.com/shurrik/archive/2010/02/25/1673234.html