Oracle errors on import [message #275207] |
Thu, 18 October 2007 15:51 |
cattanac
Messages: 2 Registered: October 2007 Location: NZ
|
Junior Member |
|
|
Hi there,
First try at using this site. Hope you can help.
I am supporting a client and have a db backup done using exp and a parfile.
Now I usually just use the exp and imp commands to transfer databases. I am having HUGE problems with this particular client as they pass me a dmp file and a parfile but I can never import it without errors.
I run imp, login as a user I have created and then using the imp defaults, attempt to import the file contents, (user only).
Errors in the main:
. . importing table "PMQ_DBLINK_MAPPING" 14 rows imported
IMP-00017: following statement failed with ORACLE error 921:
"CREATE UNIQUE INDEX "PK_PMQ_DBLINK_MAPPING" ON "PMQ_DBLINK_MAPPING" ("
IMP-00003: ORACLE error 921 encountered
ORA-00921: unexpected end of SQL command
So it imports the table then fails on index creation?
When it comes to do the constraints:
IMP-00017: following statement failed with ORACLE error 2270:
"ALTER TABLE "TR_ACTIVITYACTIONMAP" ADD CONSTRAINT "FK_TR_AAM_AVTID" FOREIGN"
" KEY ("ACTIVITYID") REFERENCES "TR_ACTIVITY" ("ACTIVITYID") ENABLE NOVALIDA"
"TE"
IMP-00003: ORACLE error 2270 encountered
ORA-02270: no matching unique or primary key for this column-list
Help?
|
|
|
|
|
|
|
|
Re: Oracle errors on import [message #275586 is a reply to message #275525] |
Sun, 21 October 2007 22:56 |
Arju
Messages: 1554 Registered: June 2007 Location: Dhaka,Bangladesh. Mobile:...
|
Senior Member |
|
|
Michel Cadot wrote on Sun, 21 October 2007 12:14 | Arju, the first error is:
ORA-00921: unexpected end of SQL command
You can then ignore the other errors.
Regards
Michel
|
Oracle sometimes give fake message while actually hide the real one. Can you please have a look on metalink address of ,
https://metalink.oracle.com/metalink/plsql/f?p=130:14:2536506163093105830::::p14_database_id,p14_docid,p14_show_header,p14_show_help, p14_black_frame,p14_font:NOT,228516.1,1,1,1,helvetica
section problems
Thank you.
|
|
|
|
|