【发布时间】:2016-01-15 09:52:45
【问题描述】:
这是我第一次使用 dbms_job.submit。
以下代码不起作用:
declare
i_job_no BINARY_INTEGER;
begin
dbms_job.submit(JOB => i_job_no, what => 'declare x number; begin x := f_threads(''my_program'', '|| 6058883 ||' , '|| 2 || '); end;', next_date => sysdate);
dbms_output.put_line(i_job_no);
end;
但同样的事情也适用于立即执行。谁能帮忙?!
> declare
i_job_no BINARY_INTEGER;
begin
execute immediate 'declare x number; begin x := f_threads(''my_program'', '|| 6058883 ||' , '|| 2 || '); end;';
end;
谢谢!
【问题讨论】:
-
“不起作用”是什么意思?也许您没有启动所需的数据库进程
-
我没有收到任何错误信息
标签: oracle oracle-sqldeveloper oracleforms