oracle数据库 表的注释如何在程序中取得?

oracle数据库 表的注释如何在程序中取得?
新手
现在要做的程序需要在程序中取得数据库表的项目注释信息
有人知道怎么实现么?
最好给出SQL文
谢谢!
1.select * from user_col_comments where table_name='表尺歼名'

2.select * from USER_TAB_COMMENTS where table_name='表名'

第一个是查字段注释启隐,第二个是查表的陵旁冲注释,表名需要大写
select * from ALL_COL_COMMENTS where table_name='腊橘表名' and owner="模式名枯局明"

select * from ALL_TAB_COMMENTS where table_name='表名' and owner="模式名"
表没告名 模式名均要大些
select comments from ALL_COL_COMMENTS where table_name=? and column_name=?
select comments from ALL_COL_COMMENTS
← 上一篇: 下一篇: →