Solved

Not  able to  import using Data pump

Posted on 2006-06-13
3
2,951 Views
Last Modified: 2008-01-09
Hi
I exported  entire scott  database  using  expdp now but unable to  import one table from this  dmp   to my HR  schema..  my impdp command is as follows ..

C:\> impdp hr/hr  tables=scott.emp directory=dpump_dir dumpfile=dpump_dir:scott.dmp  logfile=dpump_dir:scott.log

I tried all alternates like changing username  and pwd from hr/hr  to scott tiger ,, i tried with  even schema option ,, but nothing   worked .. it  imports in own  schema  but not in other schema .. I just want to  import this  object from scott  schema to hr  schema..
Here output from my log file

;;;
Import: Release 10.1.0.2.0 - Production on Tuesday, 13 June, 2006 10:18

Copyright (c) 2003, Oracle.  All rights reserved.
;;;
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Master table "HR"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
Starting "HR"."SYS_IMPORT_TABLE_01":  hr/******** directory=dpump_dir dumpfile=dpump_dir:scott.dmp logfile=dpump_dir:scott.log tables=scott.emp
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-31684: Object type TABLE:"SCOTT"."EMP" already exists
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OBJECT_GRANT
ORA-39111: Dependent object type OBJECT_GRANT:"RHM_ROLE" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"PUBLIC" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
ORA-39111: Dependent object type OBJECT_GRANT:"HR" skipped, base object type TABLE:"SCOTT"."EMP" already exists
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
ORA-39111: Dependent object type INDEX:"SCOTT"."PK_EMP" skipped, base object type TABLE:"SCOTT"."EMP" already exists
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
ORA-39111: Dependent object type CONSTRAINT:"SCOTT"."PK_EMP" skipped, base object type TABLE:"SCOTT"."EMP" already exists
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
ORA-39111: Dependent object type INDEX_STATISTICS skipped, base object type INDEX:"SCOTT"."PK_EMP" already exists
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39111: Dependent object type TABLE_STATISTICS skipped, base object type TABLE:"SCOTT"."EMP" already exists
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-39111: Dependent object type REF_CONSTRAINT:"SCOTT"."FK_DEPT" skipped, base object type TABLE:"SCOTT"."EMP" already exists
Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
ORA-39111: Dependent object type TRIGGER:"SCOTT"."DEL_EMP_TRIG" skipped, base object type TABLE:"SCOTT"."EMP" already exists
Job "HR"."SYS_IMPORT_TABLE_01" completed with 20 error(s) at 10:18
0
Comment
Question by:rehman123
3 Comments
 
LVL 12

Accepted Solution

by:
jwahl earned 500 total points
ID: 16892514
to import in another schema add  FROMUSER=<username> TOUSER=<username> to the parameters.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
oracle query help 18 99
PL/SQL Multiple PAYER_IDs with PAYER_TYPES are these types 3 38
Deny Oracle DBAs from Connecting  "/ as sysdba" 5 51
selective queries 7 21
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now