My Oracle Support Banner

Dbms_datapump.Open Fails With ORA-31626 When Used As A Function In A SQL Select (Doc ID 459419.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.
***Checked for relevance on 15-Apr-2013***


A call to dbms_datapump procedures from within a function called from a select statement fails with the following errors:

select test_job_open from dual 
ERROR at line 1: 
ORA-31626: job does not exist 
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79 
ORA-06512: at "SYS.DBMS_DATAPUMP", line 911 
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4356 
ORA-06512: at "SYS.TEST_JOB_OPEN", line 6 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.