Solved

Not  able to  import using Data pump

Posted on 2006-06-13
3
2,981 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
Dataware house query tuning 9 81
help on oracle query 5 43
how to trim oracle sql sentence in unix 17 52
ORA-00923: FROM keyword not found where expected 3 61
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

770 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