Home > database > Want to create a nested table, but the operation error, (Err) ORA - 24344: success with compilation
Want to create a nested table, but the operation error, (Err) ORA - 24344: success with compilation
Time:09-16
[SQL] the CREATE TYPE animal_ty AS OBJECT ( Breed VARCHAR2 (25), NAME VARCHAR2 (25), The birthdate DATE );
The CREATE TYPE animals_nt AS TABLE OF animal_ty;
The CREATE TABLE breeder ( Breedername VARCHAR2 (25), Animals animal_nt ) NESTED TABLE animals STORE AS animals_nt_tab; (Err) ORA - 24344: success with compilation error
CodePudding user response:
You defined above is animal s _nt, reference is animal_nt below
CodePudding user response:
Thanks to the second floor to help me find low-level mistakes, modified, is still an error. Please help me to look at the trouble [SQL] the CREATE TYPE animal_ty AS OBJECT ( Breed VARCHAR2 (25), NAME VARCHAR2 (25), The birthdate DATE );
The CREATE TYPE animal_nt AS TABLE OF animal_ty;
The CREATE TABLE breeder ( Breedername VARCHAR2 (25), Animals animal_nt ) NESTED TABLE animals STORE AS animals_nt_tab; (Err) ORA - 24344: success with compilation error