Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

expdp using user that is not the table owner

OraCMar 24 2016 — edited Mar 26 2016

Hoping someone can help clear up something for me here.

I've got a table USER1.CUSTOMERS.

Is it possible to run an expdp as USER2 and specify USER1.CUSTOMERS in the TABLES parameter?

I'm currently trying it and it fails telling

     Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

     With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

     ORA-39001: invalid argument value

     ORA-39034: Table CUSTOMERS does not exist.

I've got synonyms setup so that USER2 can access USER1's table and also granted "select" to USER2 for the table.

     create synonym CUSTOMERS for USER1.CUSTOMERS;

     GRANT SELECT ON CUSTOMERS TO USER2;

Is this possible or do I always have to specify the schema owner in expdp parameters?

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2016
Added on Mar 24 2016
9 comments
2,003 views