ORA-31623: a job is not attached to this session via the specified handle
Cause: An attempt to reference a job using a handle which is invalid or no longer valid for the current session.
Action: Select a handle corresponding to a valid active job or start a new job.
ORA-31623错误属于Oracle数据库的错误,它表明当前的会话没有和指定的job句柄(JOB handle)相关联。
1、确认当前会话是否已经执行了job的删除操作(使用DBMS_JOB.REMOVE);
2、确认指定的job是否存在,是否属于当前会话;
3、使用DBMS_JOB.SUBMIT和DBMS_JOB.DOURE_SUBMIT命令重新提交job;
4、使用DBMS_JOB.DELETE和DBMS_JOB.DOURE_DELETE命令取消这个job的执行;
5、若指定的job不存在,请重新执行此操作,指定一个job句柄;