Database Utilities (MOSC)

MOSC Banner

DATAPUMP use of INCLUDE AND EXCLUDE Parameters simultaneously

edited Oct 5, 2021 2:01PM in Database Utilities (MOSC) 9 commentsAnswered ✓
in 19c is it possible to use include and exclude in the par file?  i want to do

INCLUDE: TABLE:"LIKE 'EM_%'"  but also  EXCLUDE: TABLE:"LIKE 'EM_SUPPORTING_DOC%'"

is this possible ( i know it is in 21c) and if not, can anyone think of an INCLUDE that would cover both scenarios?


i tried several things but keeps saying badly formed.  this query gets exactly what i want to get:

select * from DBA_OBJECTS where OWNER='<schema>' and OBJECT_TYPE='TABLE' and OBJECT_NAME like 'EM_%' and OBJECT_NAME not like 'EM_SUPPORTING_DOCUMENT%'

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center