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 AUGUST 18, 2021
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
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
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>';
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