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 from another user

2735689Sep 11 2015 — edited Sep 11 2015

Hi,

I execute an expdp of MYUSER schema from USER1. This is the parfile:

REUSE_DUMPFILES=YES

CONTENT=ALL

SCHEMAS=MYUSER

INCLUDE=SEQUENCE

INCLUDE=TABLE:"IN (SELECT TABLE_NAME

FROM ALL_TABLES

WHERE OWNER = 'MYUSER'

   AND TABLE_NAME NOT LIKE 'TEMP%' )"                              

DIRECTORY=MY_DIRECTORY  

This is my IMPDP command:

impdp USER1/pwdUSER1

REMAP_SCHEMA=MYUSER:USER1

directory=MY_DIRECTORY

content=ALL

DUMPFILE=xxxxx.dmp

logfile=xxx.log

In the import log file there is this error during creating trigger:

ORA-31685: Object type TRIGGER:"USER1"."MYTRIGGER" insufficient privileges:

CREATE TRIGGER "USER1"."MYTRIGGER"

BEFORE UPDATE

ON MYUSER.MYTABLE FOR EACH ROW

DECLARE

BEGIN

.....

....

END;

REMAP_SCHEMA doesn't work for triggers?

Any solution?

Thanks

This post has been answered by Jhil on Sep 11 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2015
Added on Sep 11 2015
19 comments
3,051 views