Solved

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

Posted on 2013-05-29
2
1,227 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
Comment Utility
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
Comment Utility
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.

Join & Write a Comment

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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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

771 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

10 Experts available now in Live!

Get 1:1 Help Now