ITPub博客

首页 > 数据库 > Oracle > ORA-00001: unique constraint (constraint_name) violated

ORA-00001: unique constraint (constraint_name) violated

Oracle 作者:hadba 时间:2018-05-15 15:28:59 0 删除 编辑

ORA-00001: unique constraint (constraint_name) violated

Error Message
ORA-00001: unique constraint (constraint_name) violated

Cause of Error
You tried to execute an INSERT or UPDATE statement that has created a duplicate value in a field restricted by a unique index.

Resolution
The option(s) to resolve this Oracle error are:

Option #1
Drop the unique constraint.

Option #2
Change the constraint to allow duplicate values.

Option #3
Modify your SQL so that a duplicate value is not created.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26664718/viewspace-2154522/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-02

  • 博文量
    80
  • 访问量
    96104