Oracle如何查看所有表和字段以及表注释和字段注释?其实很简单!!

作者:系统运维 来源:IT科技类资讯 浏览: 【】 发布时间:2025-11-05 09:01:01 评论数:
Oracle如何查看所有表和字段以及表注释和字段注释?其实很简单!!
复制#当前用户拥有的何查和字表  select table_name from user_tables;   #所有用户的表  select table_name from all_tables;   #包括系统表  select table_name from dba_tables;   select table_name from dba_tables where owner=用户名 #描述当前用户有访问权限的服务器租用所有对象   ALL_OBJECTS      describes all objects accessible to the currentuser.    #描述了数据库中的所有对象   DBA_OBJECTS     describes all objects in the database.       #描述了当前用户所拥有的IT技术网所有对象  USER_OBJECTS    describes all objects owned by the currentuser.          1.2.3.4.5.6.7.8.9.10.11.12.13.