Ciao a tutti, non riesco davvero a capire dove sbaglio, ma non riesco a creare una tabella poichè mi da errore nella nested table.
GareGiocate è definito come:codice:Errore con inizio alla riga 77 nel comando: CREATE TABLE Giocatori OF t_giocatore( Nome NOT NULL, Cognome NOT NULL, Sesso NOT NULL, Eta NOT NULL, Handicap NOT NULL, Circolo SCOPE IS Circoli, PRIMARY KEY(CodG), CONSTRAINT m_o_f CHECK (Sesso IN ('m', 'f')), CONSTRAINT eta_non_negativa CHECK (Eta >= 0), CONSTRAINT handicap CHECK (Handicap BETWEEN 0 AND 36) ) NESTED TABLE GareGiocate STORE AS GiocatoreGare_tab, NESTED TABLE NTel STORE AS GiocatoreNTel_tab Errore alla riga del comando:94 Colonna:9 Report errori: Errore SQL: ORA-02320: creazione di tabella di memorizzazione per colonna della tabella nidificata GAREGIOCATE non riuscita ORA-22913: specificare nome di tabella per colonna o attributo della tabella nidificata 02320. 00000 - "failure in creating storage table for nested table column %s" *Cause: An error occurred while creating the storage table for the specified nested table column. *Action: See the messages that follow for more details. If the situation they describe can be corrected, do so; otherwise contact Oracle Support.
Vi giuro che non capisco cosa genera l'errore, non è un errore molto chiaro.codice:CREATE OR REPLACE TYPE Lista_Gare AS TABLE OF t_gara; /

Rispondi quotando