ORA-00955: Name is already used by an existing object
eg:
SQL> desc t
Name Null? Type
----------------------------------------- -------- ----------------------------
N NUMBER
SQL> create table t(n number);
create table t(n number)
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
Sometimes this error can occur when you do not expect it, for instance when you use create or replace ....
When you get an error using the or replace clause, probably there's already an object with the same name, but a different type.
eg:
SQL> create or replace procedure t as 2 begin 3 null; 4 end; 5 / create or replace procedure t as * ERROR at line 1: ORA-00955: name is already used by an existing objectPrevious statement fails - although the or replace clause was given - because there's already a table with the same name.
You can use following select to check for those objects:
select object_name, object_type from user_objects where object_name='<object name>';
Welcome to our forum for Oracle error: ORA-00955 Add your own message
drop public synonym <synonym_name>;
Enter your message
Either drop the object, or type to do create or replace ...
this is my coding script.... dnt kno why the error is comming again and again... plz help me out..
You already have an object named test. If you want to recreate the table test, you will first need to drop it first:
drop table test;
I have created few Sp's on two schema with same names. granted execute privilege to DB users for all the procs. when i am executing the proc it raised me the following error:
ORA-00955: Name is already used by an existing object
is it possible to create same sp in two different schema?
Please suggest me the appropriate solution.
its very urgent.
Thanks
Yes, you can create 2 procedure with the same name in different schema's.
The error indicates that you are trying to create an object which already exists.
How do you execute this procedure?
Hi,
I'm not able to create table,when ever i try i will get following error "-00955: Name is already used by an existing object " and i tried to resolve with the following
select object_name, object_type
from user_objects
where object_name='<object name>';
But it is giveing error .Please help.
Thanks & Regards,
Kavitha
What error do you get when doing this select?
Can you post the steps performed using sqlplus?
Add your message
If you need more information about this particular error message, you can leave a forum message.
We are replying to this message whenever we have some spare time, so please do not consider this as a private 'solve my critical issue asap' service.
Should you need professional Oracle Assistance to make your project a success, please have a look at our consultancy services.
In order to prevent automatic generation of messages, we are asking for a validation code. This code is unique and is generated every time a new message is asked.
If you do not enter the validation correctly, your message will not be recorded.
