Imp-00019 imp-00003 ORA-00001

Source: Internet
Author: User

Time: 2008/03/31
Author: skate

Because impdp has many bugs and errors occur when I import data, I use the IMP tool.

IMP skate/password fromuser = skate touser = skate_new file =/home/Oracle/admin/omovo/dpdump/compassweb. dmp ignore = y
The following error is prompted:

Imp-00019: Row rejected due to Oracle Error 1
Imp-00003: Oracle Error 1 encountered
ORA-00001: unique constraint (movo_new.compassindexplace_pk) violated

We can see from the error that there are duplicate data. After Google, we learned that if the table does not have constraints, we can use ignore = Y. to overwrite the table.
If constriants exists, you need to delete the original data first, and then in IMP. Otherwise, the above error will be prompted.

My approach is to delete an existing table, and then import all the results in IMP OK.

 

--- End ----
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.