如何获取oracle字段注释

更新时间:02-08 教程 由 终止符 分享

如何获取oracle字段注释?

oracle使用如下sql语句可以查询表字段的注释:

select*fromuser_col_commentstwhere1=1

andt.commentsisnotnull

andt.table_name='表名'

需注意:

1、该语句仅查询当前登录用户的表或试图,不包含其他用户授权的表或试图;

2、表或试图名一定要大写。

声明:关于《如何获取oracle字段注释》以上内容仅供参考,若您的权利被侵害,请联系13825271@qq.com
本文网址:http://www.25820.com/tutorial/14_2181923.html