首页 > 其他 > 详细

Return: 805 - ORA-00001: unique constraint (SYSADM.TABLE) violated

时间:2018-03-24 13:54:49      阅读:246      评论:0      收藏:0      [点我收藏+]

When I try to insert data into TABLE, this error occurs.

The reasons caused the error can be concluded as below

1. Duplicate records.

 

  ID TYPE SCHOOL
1 1 C HKUST
2 1 C HKUST

2. Duplicate records with the key.

For example, TABLE A use field ID and TYPE as key.

Data of key fields are same.

  ID TYPE SCHOOL
1 1 C HKUST
2 1 C CITYU

To avoid the case, please make sure the uniqueness of data. 

确保事务的ACID.

A Atomic 原子性

C Consistency 一致性

I Isolation 隔离性

Durability 持久性

 

If in PeopleSoft, remember to truncate table " %TruncateTable(%Table(temporary table))" before "insert into temporary table". 

Return: 805 - ORA-00001: unique constraint (SYSADM.TABLE) violated

原文:https://www.cnblogs.com/FANKIKI/p/8638557.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!