I have a dump of a huge oracle database so it is impossible to import it all. I want to import a specific table called X. The problem is that X has foreign keys. If I import just X, I will get the following error:
imp user/pass@dbName tables=X rows=y ignore=Y
ORA-02291: integrity constraint violated - parent key not found
I already have the whole db locally (but without data), I want to import all tables that are associated to X. How can I achieve that? I have plsql installed. I also need to know the order of these tables to know which to import at first.
You dan disable all DB constraints before the import, and re-enable them afterwards. See:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With