Solved

data expdp impdp attribute where source table structure has added column from target tables

Posted on 2013-05-29
2
1,273 Views
Last Modified: 2013-05-29
I had a request to refresh and old database where the user uses an app tied to this database.  I'd be getting the data from the same database structure except the one column has been added to all of the source tables making them one column different than the target database tables.  Of course when I try to do the import I get errors because of this difference.  Is there an attribute for either exp or expdp that I should explore to allow this data (excluding this added column) to me imported into these older database tables?  

Also this old database is on a stand-alone laptop and not accessible to the network where the source database is or I world have looked at other options like 'insert into old_table...'
0
Comment
Question by:talahi
2 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 400 total points
ID: 39205913
I don't believe there is a way to export or import specific columns.

Can you not just add the new column to the target database?

If the app doesn't use it, then it really shouldn't matter unless the developer did some very bad things and use '*' like: select * from sometable;

You could always create a new table in the source database without the column, export that and remap_table on import.
0
 

Author Closing Comment

by:talahi
ID: 39205925
Ok I thought I'd ask.  Yes creating a new table in the source database without the column might be the way to go.
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

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
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…

830 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