select distinct column_name,comments from all_col_comments where table_name=upper('TBL_SERVICE_INFO') ;
其中TBL_SERVICE_INFO为表名
查询特定表元数据
本文介绍了一种使用SQL语句来查询指定表中特定列及其注释的方法,这对于理解数据库表结构非常有用。
select distinct column_name,comments from all_col_comments where table_name=upper('TBL_SERVICE_INFO') ;
其中TBL_SERVICE_INFO为表名
4294
7645
1652

被折叠的 条评论
为什么被折叠?