Oracle 视图 USER_NESTED_TABLE_COLS 官方解释,作用,如何使用详细说明
本站中文解释
查看属于当前用户的每个表中嵌套表列,嵌套表是表中存储的一种特殊数据类型,可以容纳一行或多行数据,该视图用于显示当前用户的每个表中的嵌套表。可以通过以下SELECT语句使用该视图:
SELECT T.TABLE_NAME,
N.TABLE_NAME AS NESTED_TABLE_NAME,
N.COLUMN_NAME as NESTED_COLUMN
FROM USER_TABLES T
INNER JOIN USER_NESTED_TABLE_COLS N
ON T.TABLE_NAME=N.TABLE_NAME;
官方英文解释
USER_NESTED_TABLE_COLS
describes the columns of the nested tables owned by the current user. Its columns (except for OWNER
) are the same as those in ALL_NESTED_TABLE_COLS
.
To gather statistics for this view, use the DBMS_STATS
package.
See Also:
“ALL_NESTED_TABLE_COLS”