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;
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