Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to get table comments and column comments by Oracle

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces Oracle how to get table comments and column comments, the article is very detailed, has a certain reference value, interested friends must read it!

All tables

Select table_name from user_tables; / / tables owned by the current user select table_name from all_tables; / / tables for all users select table_name from dba_tables; / / including system tables

Comments on the tabl

Select * from user_tab_comments; / / the current user has comments on tables select * from dba_tab_comments; / / comments on all user tables select * from all_tab_comments; / / comments on all user tables dba_tab_comments, all_tab_comments has one more ower column than user_tab_comments

Comments for the column

Select * from user_col_comments;select * from dba_col_comments;select * from all_col_comments

Accordingly, there is dba_col_comments,all_col_comments, which have more ower columns than user_col_comments.

The above is all the content of the article "how to get table comments and column comments from Oracle". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report