我在 Oracle 中有嵌套表 xxx_nested_table
CREATE OR REPLACE TYPE xxx_tab AS TABLE OF VARCHAR2(30);
CREATE TABLE xxx_nested_table (id NUMBER, column_xxx xxx_tab)
NESTED TABLE column_xxx STORE AS xxx_col_tab;
当我从 user_objects 中选择记录时,我无法区分带有表对象的记录和带有嵌套表对象的记录:
select * from user_objects where object_name like '%XXX%'
OBJECT_NAME SUBOBJECT_NAME OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE CREATED LAST_DDL_TIME TIMESTAMP STATUS TEMPORARY GENERATED SECONDARY
XXX_COL_TAB 54496 54496 TABLE 06.09.2011 23:49:25 06.09.2011 23:49:25 2011-09-06:23:49:25 VALID N N N
XXX_NESTED_TABLE 54495 54495 TABLE 06.09.2011 23:49:25 06.09.2011 23:49:25 2011-09-06:23:49:25 VALID N N N
XXX_TAB 54491 TYPE 06.09.2011 23:48:02 06.09.2011 23:48:02 2011-09-06:23:48:02 VALID N N N
怎么区分呢?在什么系统元数据表上?