Database Utilities (MOSC)

MOSC Banner

How do I exclude all partitioned tables from an export using dbms_datapump API?

edited Mar 25, 2013 4:14PM in Database Utilities (MOSC) 2 commentsAnswered
Hello experts,

We are on Oracle 11gR2 11.2.0.3. I have a requirement to export and get a .dmp file without partitioned tables. I created a function that returns a list of partitioned tables that is comma separated. In my export package that I wrote, I execute the function and set it to a variable V_PTBL. It does return a comma delimited list of partitioned tables. Now in my dbms_datapump job I want to exclude all the partitioned tables from the SCHEMA level export.

In my job I added the following:

IF V_PTBL != '' THEN

     dbms_datapump.metadata_filter(

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