Is there a way we can fetch comments form Oracle using Java Code?I tried Using Describe but it did not work for JDBC(Java Code). Can u suggest some way?
You can running this query to get table's comment.
select comments from user_tab_comments where table_name = 'T';
If you want to get column's comment:
select comments from user_col_comments where table_name = 'T';
Java代码将与您在任何普通查询中使用的Java代码相似,即通过建立连接,然后执行查询并使用Iswanto提供的上述2条语句
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.