Also the two constraints that the exception refers are for different table:
select constraint_name, table_name from all_constraints where owner = 'TOMASZ' and constraint_name in ('SYS_C00123041', 'SYS_C00123039');
CONSTRAINT_NAME TABLE_NAME ------------------------------ ------------------------------ SYS_C00123039 TP_SUB_TYP SYS_C00123041 TP_SUBSTYP
|