Error: ORA-00955: name is already used by an existing object in Oracle Function

前端 未结 1 546
挽巷
挽巷 2021-01-13 17:35

I have function which i am trying to compile and getting an error as Error: ORA-00955: name is already used by an existing object. I am really not aware of this

1条回答
  •  北海茫月
    2021-01-13 18:17

    You probably have another object with the same name (PERFORM_CHECK).

    You can find it by quering user_objects:

    select *
    from   user_objects
    where  object_name = 'PERFORM_CHECK'
    

    Then drop it (replace TYPE_OF_OBJECT by the type of the object from the above query):

     drop TYPE_OF_OBJECT perform_check
    

    0 讨论(0)
提交回复
热议问题