Database Utilities (MOSC)

MOSC Banner

Oracle datapump API exported tables

edited Jul 5, 2013 12:12AM in Database Utilities (MOSC) 4 commentsAnswered ✓

My situation is quite strange, and I don't have any idea on how to handle it.

Scenario:

In variable v_tables_param I have the following string (the names of the tables that I want to export):  'IN(''REPORT_PERIOD'',''OBJECT_AVAILABILITY'')'.

when I try to specify the following metadata filter that i need in order export the tables :

DBMS_DATAPUMP.METADATA_FILTER(handle => n_h1, name =>'NAME_EXPR',value =>v_tables_param);

I get a ORA-39001: invalid argument value.

However, if i hard code the exact value of v_tables_param into the metadata filter, it works like a charm :

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