Using the SUBMIT Procedure
SQL>
SQL> DECLARE
2 v_job NUMBER;
3 v_what VARCHAR2(1000) := 'insert into test_table values (9999);';
4 BEGIN
5 dbms_job.submit(job => v_job,
6 what => v_what,
7 next_date => sysdate,
8 interval => 'sysdate + 1/24');
9 COMMIT;
10 END;
11 /
SQL>
Related examples in the same category