Solved

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

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

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.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
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.

809 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