oracle 查询表中字段名称和注释

SELECT t.COLUMN_NAME,COMMENTS FROM  user_col_comments t WHERE table_name='表名'

SELECT t.COLUMN_NAME,COMMENTS FROM  user_tab_columns t WHERE table_name='表名'

SELECT *from user_tab_columns  WHERE table_name='表名'


user_tab_columns:查看数据库中每张表的含义注释
user_col_comments:查看表中每个字段的含义注释