Oracle datapump API exported tables
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 :