码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-03-24 14:33:30      阅读:244      评论:0      收藏:0      [点我收藏+]

标签:str   log   before   into   ora   remember   隔离   rem   clu   

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

标签:str   log   before   into   ora   remember   隔离   rem   clu   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!