How do I exclude all partitioned tables from an export using dbms_datapump API?
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(