Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-00955: name is already used by an existing object

RE: ORA-00955: name is already used by an existing object

From: Powell, Mark D <mark.powell_at_eds.com>
Date: Fri, 2 Dec 2005 09:07:11 -0500
Message-ID: <5A14AF34CFF8AD44A44891F7C9FF41050395BC2A@usahm236.amer.corp.eds.com>


What version of Oracle?

I notice that the error is on the specification but that the body created. Did both the specification and the body exist prior to running this? Were they both valid?

If you separate the specification and the body into separate files and re-run just the specification does it work or duplicate the error? If you drop the package and then re-run your code what happens?

Taking a wag, I would guess that there might be an error in your specification code and that the error message is just misleading/bad. Dropping the existing package and then attempting to recreate it from your code might then show the real error.

HTH -- Mark D Powell --

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of John Dunn Sent: Friday, December 02, 2005 8:55 AM
To: oracle-l_at_freelists.org
Subject: ORA-00955: name is already used by an existing object

Can any one tell me why I get this error? Surely if using CREATE OR REPLACE it should not matter if the object already exists?

CREATE OR REPLACE PACKAGE package_printertype_scitex AS *
ERROR at line 1:
ORA-00955: name is already used by an existing object

Package body created.

John Dunn
Product Consultant
Direct Dial +44 (0) 117 373 6122
Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK. Tel: +44(0) 117 373 6114
Fax: +44 (0) 117 373 6115

www.sefas.com

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Fri Dec 02 2005 - 08:10:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US