我有這段代碼,當我嘗試編譯它時,它給了我一個錯誤,指出「名稱已被現有對象使用」。但是我沒有這個名字的另一個對象。對象創建在oracle中生成錯誤
drop type specii_inr;
CREATE OR REPLACE TYPE specii_inr UNDER gestiune_zoo
(specii_inrudite VARCHAR2(20),
OVERRIDING member procedure afiseaza_animal)
/
CREATE OR REPLACE PROCEDURE specii_inr AS
OVERRIDING MEMBER PROCEDURE afiseaza_animal IS
BEGIN
dbms_output.put_line('Animale inrudite: '||specii_inrudite);
END afiseaza_animal;
END;
/
'CREATE OR REPLACE PROCEDURE specii_inr' should be'CREATE OR REPLACE TYPE body specii_inr' –