Solved

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

Posted on 2013-05-29
2
1,249 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 76

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

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

15 Experts available now in Live!

Get 1:1 Help Now