oracle 创建和调用job

调用job

begin

dbms_job.run(0021);

end;

创建job

declare

vnum number;
begin
dbms_job.submit(job=》vnum,
what=〉‘hhhhh‘,
next_date=》sysdate
interval=〉’表达式’;

end;

你可能感兴趣的:(笔记)