Hi Norman;
I have already tried the following command :
imp SYSTEM/XXX file=/oradata/ora48001/donnees/archive/hp_ntced_aa.dmp
log=/oradata/ora48001/donnees/archive/hp_ntced_aa.log fromuser=hp_ntced_aa
touser=HP_NTCED_AA rows=y constraints=n compile=n IGNORE=y indexes=n commit=y
But have Always the same error (in french) :
Ligne rejetée à cause de l’erreur ORACLE 1
IMP-00003 : Erreur Oracle 1 rencontrée
ORA-00001: violation de contrainte unique (HP_NTCED_AA.UK_ADMISSION_01)
…
Regards
— En date de : Lun 25.10.10, Norman Dunbar a écrit :
De: Norman Dunbar
Objet: Re: [toad] Data import
À: toad@yahoogroups.com
Date: Lundi 25 octobre 2010, 8h58
Morning djamel,
> *imp SYSTEM/laposte+2
> file=/oradata/ora48001/donnees/archive/hp_ntced_aa.dmp
> log=/oradata/ora48001/donnees/archive/hp_ntced_aa.log
> fromuser=hp_ntced_aa touser=HP_NTCED_AA commit=y ignore=y*
> **
> *But I have of error messages on constraints and indexes !*
> *How realize the import procedure without know the schema of the
> database ? *
> *I would like just to import only the data from a dump file.*
add the following to your imp command:
indexes=no constraints=no
you may also decrease the import time by adding:
buffer=40960000
Adjust the value to suit your system, but the above works for me.
And, one last thing, please don’t hijack an existing thread to post a
question. If you do, people like me with threaded email clients may not
see it as it appears under a thread that we may not be watching. For a
new query, alsways start a new thread please. Thanks.
Cheers,
Norm. [TeamT]
--
Cheers,
Norm. [TeamT]