Import dump file without 2 tables [message #537972] |
Tue, 03 January 2012 04:23 |
|
Jack14
Messages: 497 Registered: December 2011 Location: INDIA
|
Senior Member |
|
|
Hi,
I want to import dump file (without 2 tables) .The dump file contains 100 tables,indexes and constraints.
So out of 100 tables i want to import 98 tables from dump file (without 2 tables).
Can you guys provide me the step to perform this import?
I hope my question is clear to all.
|
|
|
|
Re: Import dump file without 2 tables [message #537976 is a reply to message #537973] |
Tue, 03 January 2012 04:33 |
|
Jack14
Messages: 497 Registered: December 2011 Location: INDIA
|
Senior Member |
|
|
Quote:And yes, you posted once more in the wrong forum. Export and import questions should be in "Server Utilities" forum.
Sorry Michel,By mistake i posted export/import questions in Server administration instead of server utilities.
Should i post the same question in server utilities forum?
[Updated on: Tue, 03 January 2012 04:33] Report message to a moderator
|
|
|
|
|
Re: Import dump file without 2 tables [message #538090 is a reply to message #537986] |
Tue, 03 January 2012 23:45 |
|
Jack14
Messages: 497 Registered: December 2011 Location: INDIA
|
Senior Member |
|
|
Quote:Perhaps it would be simpler if you imported all 100 tables and then drop 2 tables you don't need.
Little foot,
Those 2 tables should not be dropped at any cost in target database because the tables
plays an important role in database connection string .
[Updated on: Tue, 03 January 2012 23:47] Report message to a moderator
|
|
|
|
|
Re: Import dump file without 2 tables [message #538126 is a reply to message #538125] |
Wed, 04 January 2012 03:30 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Quote:The count for below 2 tables in target schema is
PAR_TAB -- 7000
USER_TAB -- 2000
Based on above result , i would say the data set is not same in both the tables.
Obviously, 7000 <> 2000.
However, I'm afraid you misunderstood what I said. You should have checked
table name source schema target schema
---------- ------------- -------------
par_tab number_A 7000
user_tab number_B 2000 What I meant was: if number_A = 7000 and number_B = 2000 then it is *possible* that these tables contain the same data set (obviously, the fact that there are 7000 records in both tables doesn't mean that they are equal - you should check it first).
Anyway, as there are no unique/primary keys/indexes there, you should probably NOT import all 100 tables as these two (PAR_TAB and USER_TAB) might, at the end, contain unexpected records.
|
|
|
|
|
|
|
Re: Import dump file without 2 tables [message #538135 is a reply to message #538133] |
Wed, 04 January 2012 04:53 |
|
Jack14
Messages: 497 Registered: December 2011 Location: INDIA
|
Senior Member |
|
|
Quote:Anyway, as there are no unique/primary keys/indexes there, you should probably NOT import all 100 tables as these two (PAR_TAB and USER_TAB) might, at the end, contain unexpected records.
Adding to your above notes, we should probably NOT import all 100 tables as these two tables at the end would contain unexpected errors.
Hence follow the below note of yours
Quote:try to rename these tables in the target schema, import 100 tables, (Should not drop tables instead rename them) , rename those 2 tables back to their original names.
@Littlefoot
Thank you for your wonderful support and suggestions.
|
|
|