My Oracle Support Banner

Datapump Export with Multiple INCLUDE Parameters Raises ORA-39168 (Doc ID 743300.1)

Last updated on JULY 24, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 15-Dec-2014***

Goal

Need to do a Datapump export with the following parfile, using the INCLUDE parameter more than once for the same object type (e.g.: table). Example:

schemas=<SCHEMANAME>
directory=<DIR>
dumpfile=<DUMPFILE>.dmp
INCLUDE=TABLE:"LIKE '<TABLE1_NAME%>' "
INCLUDE=TABLE:"LIKE '<TABLE2_NAME%>' "
INCLUDE=VIEW:"='<VIEW_NAME>' "
INCLUDE=SEQUENCE:"LIKE '<SEQUENCE_NAME_%>' "
INCLUDE=SEQUENCE:"LIKE '<SEQUENCE_NAME_%>' "
INCLUDE=SEQUENCE:"IN ('<SEQUENCE_NAME>') "


However it fails with :

Solution

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
Goal
Solution
References


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