My Oracle Support Banner

DataPump Export (EXPDP) Fails With Error ORA-942 When Specifying A Query In INCLUDE Clause (Doc ID 1089767.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 09-Sep-2012***


DataPump export with INCLUDE clause:

INCLUDE=TABLE:"in (select value1 from table_name where value2 = 'name')"

fails with:

ORA-39125: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS while calling DBMS_METADATA.FETCH_XML_CLOB []
ORA-00942: table or view does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 6307

The table_name in select statement is not prefixed with the schema name. The table is owned by the user who performs the export.


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.