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 JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Information 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


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