ora-02292, ora-02266 primary key constraint problem

select * from user_constraints 
disable the swap constraints: alter table table_name disable constraint constraint_name;
delete data delete from table_name table or truncate table table_name;
then re-enable the constraints alter table table_name enable constraint constraint_name;

Reproduced in: https: //my.oschina.net/u/2552902/blog/543925

Guess you like

Origin blog.csdn.net/weixin_34368949/article/details/92326520