My Oracle Support Banner

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 23, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 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

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


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.