Search notes:
ORA-22913: must specify table name for nested table column or attribute
create or replace type tq84_obj authid definer as object (
num number,
txt varchar2(10)
);
/
create type tq84_obj_t as table of tq84_obj;
/
The following create table
statement throws ORA-22913: must specify table name for nested table column or attribute:
create table tq84_tab (
tab_id integer,
obj_tab tq84_obj_t
);
This create table
statement succeeds because it specifies the required table name for the nested table column:
create table tq84_tab (
tab_id integer,
obj_tab tq84_obj_t
)
nested table obj_tab store as tq84_nt return as locator;
Cleaning up:
drop table tq84_tab;
drop type tq84_obj_t;
drop type tq84_obj;