做了一个多层嵌套的小题,有点不明白,请教大家
c
------
c1
------
c11
-------
agec为一个包含c1的表,而c1包含c11, c11里包含 age。
用如下代码在oracle9i中运行,出现错误。create type c_t
(
age int
);
/create type c_nt as table of c_t;
/create type b_t
(
c c_nt
);
/create type b_nt as table of b_t;
/create table b
(
c c_nt
)
nested table c store as c_tab;
/create table c
(
b b_nt
)
nested table b store as b_tab;
/错误为:
create table c
*
ERROR 位于第 1 行:
ORA-02320: 无法创建嵌套表列B的存储表
ORA-22913: 必须指定嵌套表列或属性的表名称请教各位了。