欢迎光临
我们一直在努力

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

本站中文解释

视图用于查询某个用户下所有表的字段信息,可以使用指定的用户名在VIEW_NAME中指定表查询,以便查看其中的字段名称、类型、长度等具体信息。例如:

SELECT *
FROM USER_TAB_COLS
WHERE OWNER =’用户名’
AND TABLE_NAME = ‘表名’;

官方英文解释

USER_TAB_COLS describes the columns of the tables, views, and clusters owned by the current user.

Its columns (except for OWNER) are the same as those in ALL_TAB_COLS.

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

This view differs from USER_TAB_COLUMNS in that system-generated hidden columns are not filtered out.

See Also:

  • “ALL_TAB_COLS”

  • “USER_TAB_COLUMNS”

  • Oracle Database PL/SQL
    Packages and Types Reference
    for more information about the DBMS_STATS package

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。