ORA-00955: Name is already used by an existing object even though object does not exist in all_constraints
(Doc ID 2797651.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
A primary key constraint from a table was dropped and tried to be recreated but the error below occurred:
ORA-00955: name is already used by an existing object
For example:
ALTER TABLE < table name> ADD CONSTRAINT <new_constraint> PRIMARY KEY (instance_id,ais_user,server,port)
Checking all_constraints does not return row:
select * from all_constraints where constraint_name ='<new_constraint>';
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |