oracle job 带参数

declare   
job number; 
begin
  sys.dbms_job.submit(job => job,
                      what => 'DECLARE
  S1 VARCHAR2(4000);
  S2 VARCHAR2(2);
BEGIN
  PKG_TEST.P_TEST(S1, S2);
END;',
                      next_date => sysdate,
                      interval => 'sysdate+1/1440');
  commit;
end;
/

你可能感兴趣的:(Oracle,oracle,数据库)