广州鸿名健康科技有限公司


Oracle 视图 USER_TABLES 官方解释,作用,如何使用详细说明

网络编程 Oracle 视图 USER_TABLES 官方解释,作用,如何使用详细说明 10-18

本站中文解释

Oracle 视图 USER_TABLES 是数据库用户自己创建的表的目录。它显示用户所拥有的每个表的名称、位置、表空间等信息。

用途:

1、用于查找用户所拥有的所有以及特定表的信息。

2、用来检查表的存储方式和表空间的名称。

使用方法:

1、通过查询 USER_TABLES 视图可以获取用户所拥有的表的详细信息:

SELECT * FROM USER_TABLES

2、可以使用 WHERE 子句通过表名称获取特定表的信息:

SELECT * FROM USER_TABLES WHERE TABLE_NAME = ‘表名称’;

官方英文解释

USER_TABLES describes the relational tables owned by the current user. Its columns (except for OWNER) are the same as those in ALL_TABLES.

To gather statistics for this view, use the DBMS_STATS package.

See Also:

“ALL_TABLES”


编辑:广州鸿名健康科技有限公司

标签:名称,用户,所拥有,视图,信息