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

I dropped a table using DROP TABLE admin CASCADE CONSTRAINTS PURGE

I then run a CREATE TABLE and then a CREATE INDEX command using fields 1.

But the CREATE INDEX fails with an ORA-00955: name is already used by an existing object error.

How can this be? If I let off the table, is not also delete the index?

Any help would be greatly appreciated.

Kind regards
Marty

Yes... That is the question.

Kind regards
JO

Tags: Database

Similar Questions

  • Help to create the view - error: ORA-00955: name is already used by an existing object

    Hello

    I am trying to create the following view but sqlplus displays a message and point of view has not been created. I use 11g Express.

    SQL > create view (client, f_pedido, total) orders as

    2     (

    3 select usr, date, sum (rising) as important

    4 of

    5             (

    6 select lineas_any.usuario as usr, lineas_any.fecha_pedido as date, lineas_any.cantidad * as rising referencia.precio

    7 of lineas_any

    inner join 8

    referencia 9

    10 on lineas_any.referencia = referencia.codbarras

    11             )

    Group 12 by usr, date

    13)

    14 order by date asc, usr;

    of lineas_any

    *

    ERROR on line 7:

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

    There are also descriptions of the two tables involved:

    SQL > describe lineas_any

    Name                                          Null?    Type

    ------------------------------------------------------ -----------------

    USER NOT NULL VARCHAR2 (60)

    FECHA_PEDIDO NOT NULL DATE

    REFERENCIA NOT NULL VARCHAR2 (15)

    AMOUNT NUMBER (2)

    SQL > describe referencia

    Name                                          Null?    Type

    ------------------------------------------------------ -----------------

    CODBARRAS NOT NULL VARCHAR2 (15)

    PRODUCT NOT NULL VARCHAR2 (50)

    FORMATO NOT NULL VARCHAR2 (20)

    SILTING NOT NULL VARCHAR2 (15)

    PRECIO NOT NULL NUMBER (7.2)

    STOCK NUMBER (5) NOT NULL

    MIN_STOCK NOT NULL NUMBER (5)

    MAX_STOCK NOT NULL NUMBER (5)

    Please, could someone help me in this matter?

    Thanks in advance.

    Kind regards

    It means that it is already an object named peridos. Question:

    Select object_type from user_objects where object_name = 'PERIDOS;

    to find out what type of object it is. Any chance you try to change the existing definition of peridos view? If so, use

    CREATE or REPLACE view orders (customer, f_pedido, total) as...

    SY.

  • ORA-00955: name is already used by an existing object to 'MDSYS. SDO_RDF_IN

    Hi all

    While using the easy loading of the java batch to load a literal value large triple I lost network connection, killing the shell with this process.
    When you restart the load to help

    $ORACLE_HOME/jdk/bin/java - Xmx1g - DjustTriple = true - Dexchange = false - Dappend = true - Ddb.user = uniprot_rdf - Ddb.password = < password > - Ddb.host = 127.0.0.1 - Ddb.port = 1526 - Ddb.sid = < SID > classpath - $ORACLE_HOME/md/jlib/sdordf.jar:$ORACLE_HOME/jdbc/lib/ojdbc5.jar oracle.spatial.rdf.client.BatchLoader logs/uniprot.bad uniprot_rdf_data uniprot rdf

    I get the following error:
    Temporary table already exists!
    java.sql.SQLException: ORA-00955: name is already used by an existing object
    ORA-06512: at the 'MDSYS. SDO_RDF_INTERNAL', line 5557
    ORA-06512: at the 'MDSYS. SDO_RDF_INTERNAL', line 5593
    ORA-06512: at the 'MDSYS. RDF_APIS', line 933
    ORA-06512: at line 1

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:204)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3840)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1086)
    at oracle.spatial.rdf.client.NTripleConverter.loadNTriple(NTripleConverter.java:391)
    at oracle.spatial.rdf.client.BatchLoader.main(BatchLoader.java:302)

    This is similar to [825344 | ] Temporary table already exists! but a little different in the location.
    What item should be dropped here? In a later version, you may wish to update the message generated here be
    more informative.

    Kind regards
    Jerven

    Please try the same solution as in the other thread:

    Call the following to a privileged user:

    drop mdsys. RDF_LINK$ _TEMPBM$;

  • get the following errors "" sql error: ORA-00955: name already used by an existing object ""

    Untitled.png

    So, you already have a table called ADDRESS.  Once created, you can not keep recreate unless you drop everything first.

  • ORA-02264: name already used by an existing constraint

    Hey, I am facing a problem when I create a table
    create table customers_products(transactionid number(4) constraint pk_customers_products primary key,
    custNo  number(4) constraint  fk_customers_products references customers(custNo),                               
    productNo number(4)constraint fk_customers_products references products(productNo) ,date_of_purchase date,qty_purchased number(5));
    
    ERROR at line 2:
    ORA-02264: name already used by an existing constraint
    How can we know which table is to use?

    Published by: Sandy on April 6, 2011 07:27

    could be two reasons

    1. you use the same name of constraint on the two columns. use different names.

    CONSTRAINT fk_customers_products REFERENCES customers (custNo)
    CONSTRAINT fk_customers_products REFERENCES products (productNo)
    

    2 pk could have been used.

    select * from user_constraints where constraint_name in ('PK_CUSTOMERS_PRODUCTS','FK_CUSTOMERS_PRODUCTS');
    

    G.

  • Domain name is already used elsewhere in this Document, eSign model error of form field

    I * want * the field having the same name, because I want the value to flow to this second field.  Although this seems to be no problem to do with a document created in Acrobat and downloaded, I can't create the model of form field with the same name.  I need the model because the underlying doc is often twisted.  Very frustrating.  Anyone encountered this or have alternatives?

    I ran across this in EchoSign when the deletion of the field then trying to re-create and reuse the old name. For some reason any after deletion of the original field, I can still find it in the list "go to...". ». My work around was to give it a temporary name, save and exit. Go to manage and change. It is usually passed in the jump list and I can use the old name. HTH

  • (ORA-00955) conflict of naming for index and constraint when you use a unique index (.. desc,.. CSA)

    Hello

    indexes and constraints are in different namespaces, so it should be possible to give them the same name.

    In the following case that apparently does not work:

    create unique index orders_year_show_uq
      on orders (year desc, show_orders asc);
     
     alter table orders
      add constraint orders_year_show_uq unique (year, show_order);
    

    When I run these statement, I get a "SQL Error: ORA-00955: name is already used by an existing object". ""

    If I clean and I execute the same instructions as above with the only difference on the 2 line, using "asc year" instead of "year desc":

    
      on orders (year asc, show_orders asc);
    

    then it success.

    I can't explain it, you have an idea?

    Thanks in advance.

    Kind regards

    Giovanni

    First of all, you have show_orders in index and show_order in the constraint. I'll assume that it's a typo. Second, when you create constraint without index enhance the specification Oracle seeks indexes existing on the same set of columns in ascending order. If this index does not exist (and it's your case, since one of your columns to index is in descending order), Oracle tries to create one with the same name as the constraint. That's why you get ORA-00955: name is already used by an existing object. In general, you can specify explicitly the index name to force the Oracle by using the existing index. But it will not help you. If you issue

    ALTER table orders add unique constraint (year, show_orders) orders_year_show_uq using index orders_year_show_uq;

    You will get the ORA-14196: specified index cannot be used to apply the constraint.

    In any case, Oracle does not support using index DESC for PK/UK.

    SY.

  • That irritate the error ORA-00955 :(

    Hey all I am currently studying free PL/SQL and I am so a noob I've been making that mistake since last night. I use the with table of Oracle Database 10 g Express edition, the schema HR to be precise.

    -- -------------------------------------------------------------------------------------------
    CREATE FUNCTION check_ForJobChange (in NUMBER, currentEmpStartDate AS currentEmpID)
    RETURN BOOLEAN IS

    Declare

    CURSOR emp_date_id_list1 IS (Select j1.start_date, e1.employee_id JOB_HISTORY j1 EMPLOYEES JOIN e1 ON j1.employee_id = e1.employee_id);

    checkVal NUMBER: = 0;

    Begin

    For em1 IN LOOP emp_date_id_list1

    IF (currentEmpID = em1.employee_id AND currentEmpStartDate! = em1.start_date) THEN
    checkVal: = 1;
    END IF;

    END LOOP;

    IF checkVal = 1 THEN
    RETURN TRUE;
    ELSIF checkVal = 0 THEN
    RETURN FALSE;
    END IF;

    End checkForJobChange;
    -- -------------------------------------------------------------------------------------------

    -- -------------------------------------------------------------------------------------------
    CREATE FUNCTION checkIfSalayExceedMin (currentJobID in NUMBER, currentProposedSalary number)
    RETURN BOOLEAN IS

    Declare

    minSalary NUMBER: = 0;

    Begin

    Select j.min_salary FROM minSalary of JOB j where j.job_id = currentJobID;

    IF currentProposedSalary > minSalary THEN
    RETURN TRUE;
    ELSIF currentProposedSalary < minSalary THEN
    RETURN FALSE;
    END IF;

    End checkIfSalayExceedMin;
    -- -------------------------------------------------------------------------------------------

    -- ===================MAIN====================
    Declare

    CURSOR emp_date_id_list IS (Select j.start_date, e.employee_id, e.job_id, e.salary JOB_HISTORY e j EMPLOYEES JOIN ON j.employee_id = e.employee_id);

    Begin

    For em IN emp_date_id_list LOOP

    IF (em.start_date < TO_DATE ('1990-01-01', 'YYYY-MM-DD')) THEN

    IF checkForJobChange (em.employee_id, em.start_date) THEN
    IF checkIfSalayExceedMin (em.job_id, (e.salary + (e.salary*.20))) THEN
    DBMS_OUTPUT. Put_line ('you can increase his salary');
    END IF;
    END IF;

    END IF;

    END LOOP;

    End;

    -- ================END==MAIN==================

    He is basically trying to do is check if the employee worked prior to January 1, 1990, and he has not been promoted or changed his work, if he has satisfied both these conditions he is eligible for a salary increase. That's basically it, the error I get is: ORA-00955: name is already used by an existing object

    Dang, been spend all night, I was wondering what the name of the object did I like a double T_T

    Help, please.

    Thank you!

    Hello, I'm sure that I have the unique function names, so why always make the mistake? It is clearly in my code they have parameters and names of different functions

    No, this isn't what I'm saying. You have created two functions. Then, you run your script once again. The second time around he not able to create one of them because they already exist in the database. You can not use 'create function x' when there is already a function 'x', even if it is perfectly obvious to you, it's the same one and you want to replace it. You must explicitly include Or REPLACE, otherwise fall explicitly every time.

    Well, a friend told me that uh, pirates may be able to easily replace the use of the service if I REPLACE them on the signature of the function. Not quite sure this info if haha.

    I'm afraid that your friend is wrong. REPLACE the keyword is not stored within the function (see USER_SOURCE).

  • Db - ORA-20000 R12 upgrade error: ORA-00955

    Hi all

    As part of our upgrade of the EBS R12 database I'm re creation of grants and synonyms for applications. One of the working process is run following error message:

    ERROR on line 1:

    ORA-20000: ORA-00955: name is already used by an existing

    Object:create_grants_and_synonyms(1,GL,APPLSYS,apps): create_base_gs (GL, APPS):

    In the synonyms

    Loop: create_synonym (GL, GL_DAILY_RATES_INTERFACE_BKP, APPS, GL_DAILY_RATES_INTERFAC

    (E_BKP): do_apps_ddl (APPS, CREATE SYNONYM "GL_DAILY_RATES_INTERFACE_BKP" FOR)

    GL. "" ""GL_DAILY_RATES_INTERFACE_BKP"):

    ORA-06512: at line 5

    There are three items of the same name - GL_DAILY_RATES_INTERFACE_BKP - database:

    A synonym in a schema created by us and by two tables: one GL and a pattern of APPS. So what should I do to solve this problem?

    Kind regards

    Vinod

    GL_DAILY_RATES_INTERFACE_BKP should not be seeded table. Perform a backup user someother and drop it.

    concerning

    Pravin

  • ORA-02443 &amp; ORA-00955

    Hello guys;

    I have a table with a unique constraint that must be made of three keys, but made of a single key. I decided the drop and re-create it with three keys, but I received a message that said "ORA-02443: cannot delete constraint - constraint nonexistence." And when I try to recreate this constraint with the same name, I "ORA-00955: name used already had an existing object.»

    What should I do because I am frustrated with this controversial error message?

    Help, please.

    Question:

    select  object_type
      from  user_objects
      where object_name = 'name-of-constraint-you-want-to-add-in-upper-case'
    /
    

    and post results.

    SY.

  • The deleted field name cannot be used for a new field of a different type

    I use Acrobat XI in Windows 7 to create a form.

    A text area field was created and named "XYZ". The form has been saved and closed.

    During an editing session later, the field has been deleted, and the form is saved and closed.

    In another, later editing session, I tried to create a new field box to check named "XYZ". Adobe responded saying that the name was already used for a field of a different type, as well as the name "XYZ" could not be assigned to the field.

    I find no indication that any field that is named "XYZ" exists. How can I work around this dilemma?

    Thank you, George. You gave me an idea of the problem.

    No, the field does not appear in the list of fields.

    In the JS Debugger, your proposed watch returns - 1, and

    getField("XYZ").valueAsString returns the default string that has been put in

    the field of the same name before it is deleted.

    That all means that the field is certainly in the form, but not on any

    page. Guess what? The form has a hidden page template! I think so

    the field is still in the model and that's the problem.

    Great! I made my changes in shape before programming the

    model. Silly me! Thank you very much.

    David

  • I want to create the user in the direct areas but I found thi message: the requested account name is already in use.

    Over the period of re - use the account in the domains.live

    I want to create the user in the direct areas but I found thi message

    The requested account name is already in use or has been used in the past and has not been through the waiting period required of re - use.

    Can you help me

    Hi, Ahmed.

    It seems that the domain name you have selected is not available (or has already been used and it is found that the previous owner of the domain has used the same user name as an account).  In any case we can not help you here.  You need help from domain.live.

    Please go to http://help.live.com/help.aspx?project=domains&market=en-us&querytype=keyword&query=SNIAMODTUOBA&tmt=&domain=domains.live.com&format=b1 and down, click on support and follow the prompts to get help.  Although it is technically to the implementation of the field, I'm sure that your application will be either still answered or they will direct you to the proper location for assistance.

    In addition, you can try http://windowslivehelp.com/product.aspx?productid=25 for help Windows Live Administration.  If you can not find help with solutions validated or by performing a search, try posting in the forums.  I suggest the following for the problem that you specified: http://windowslivehelp.com/forums.aspx?forumid=7e6f04c0-6a48-4719-98f4-a9729d34c76e.

    I hope this helps.

    Good luck!

  • Sharing of readers do not reconnect - error "an error occurred during connection [drive letter]: [share name] Microsoft Windows network: the local device name is already in use." This connection has not been restored. »

    Original title: Shared readers do not reconnect

    I have two PCs connected wireless. A laptop (Vista Business) was the drives mapped to actions on the other PC (XP). Whenever the Vista PC is started or out of hibernation, or after only a short period of time these discs are not available. Click on the drive in Explorer to display the message "an error occurred during connection [drive letter]: [share name] Microsoft Windows network: the local device name is already in use." This connection has not been restored. »

    If I click on 'Network' within Solution Explorer, the XP PC is not visible. The only way that I can "reconnect" these disks is to go into my anti-virus (Trend) and open the network map. This shows the XP PC and then the shares are available through Explorer - XP PC is still not visible by clicking network however.

    It started only happens in the last two months - cannot locate exactly when, but quite recently. I use connections to store small files and backup critical files a few before nailing the laptop away and it is quite annoying to have to go through this routine every time.

    Any ideas?

    Just in case it helps others - I found that if I make sure that my XP PC has a fixed IP address, and then set up the shares so that they are defined using the IP address and not share names, then I do have more problems - seems like it's something to do with Windows solve the share names rather than something to do with the personal firewall after all.

  • AMT-01106: earphone using listener name SCREW already started

    Hi all

    EBS R12.2.4

    RHEL6.5

    It's so weird, I changed the IP of our server.

    Now, I can start the database, but not the listener

    It is said already underway, although it is.

    Why is this?

    start at $ addlnctl.sh SCREWS

    AMT-01106: earphone using listener name SCREW already started

    addlnctl.sh: leave with the State 1

    Help, please.

    Thank you very much

    JC

    Hello

    Please make sure that you have cleared the browser cache and try again. Also, make sure that all services are working correctly.

    Thank you

    A H E E R X

  • ORA-01017: name of user and password invalid when using the TNS Alias

    Friends,

    I have this strange problem in 11 G R2. When I use tnsalias and connect using sqlplus username/password@TNS it shows ORA-01017: name of user and password invalid. But the same works with ORACLE_SID. See below.
    -bash-3.00$ uname -a
    SunOS ibs-ash-sr147 5.10 Generic_144489-06 i86pc i386 i86pc
    -bash-3.00$ env | grep ORACLE
    ORACLE_SID=DB1
    ORACLE_BASE=/project/oracle/orabase
    ORACLE_HOME=/project/oracle/orabase/product/11.2.0/dbhome_1
    -bash-3.00$ tnsping DB
    
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-JUN-2011 12:23:12
    
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    
    Used parameter files:
    /project/oracle/orabase/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = crs-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DB)))
    OK (0 msec)
    -bash-3.00$ sqlplus IRES_USER@DB
    
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:30:22 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Enter password:
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    
    SQL> show parameter sec_case_sensitive_logon
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    sec_case_sensitive_logon             boolean     TRUE
    
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    -bash-3.00$ sqlplus IRES_USER/U9$bvs#ir@DB
    
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:34:30 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Enter user-name: ^C
    My understanding is that both connections use a TNS alias, but then does not work. Any help is appreciated.

    Thanks in advance,
    SSN

    Published by: SSNair on June 17, 2011 05:43

    After sqlplus apostrophes and try

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28320/initparams211.htm

Maybe you are looking for