这是我使用的说明:
BEGIN
DBMS_SCHEDULER.RUN_JOB(25950);
commit;
END;
这是我得到的错误
ORA-00931: missing identifier
ORA-06512: at "SYS.DBMS_UTILITY", line 132
ORA-06512: at "SYS.DBMS_UTILITY", line 164
ORA-06512: at "SYS.DBMS_UTILITY", line 218
ORA-06512: at "SYS.DBMS_SCHEDULER", line 437
ORA-06512: at line 2
答案 0 :(得分:2)
run_job
需要job_name
,而不是ID。
DBMS_SCHEDULER.RUN_JOB (
job_name IN VARCHAR2,
use_current_session IN BOOLEAN DEFAULT TRUE);