赞
踩
这个问题可能是由于在Oracle APEX中,虽然你创建了一个名为"ISEQ_520227"的索引,但是在插入数据时,违反了唯一约束条件。这可能是因为你的数据表中已经存在相同的值,或者你的插入语句没有正确地使用这个索引。
Select "ISEQ$$_142011".nextval from dual;
alter table PAS_GROUP_WORK_STATION_POSITION modify GROUP_WORK_STATION_POSITION_ID
generated by default as identity (start with 3000 );
generated by default as identity primary key
- -- 查询当前自增主键的序列号
- Select "ISEQ$$_520227".nextval from dual; --6
- Select "ISEQ$$_520230".nextval from dual; --3
-
- -- 修改自增主键的序列号
- alter table DIAN_COMPETENCE_DIMENSION modify COMPETENCE_DIMENSION_ID
- generated by default as identity (start with 10 );
- alter table DIAN_COMMENDATION_TYPE modify COMMENDATION_TYPE_ID
- generated by default as identity (start with 10 );
新增成功!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。