[Oracle] [18] get comments all current tables and table names of the user database

SELECT A.TABLE_NAME, B.COMMENTS 
  FROM USER_TABLES A, USER_TAB_COMMENTS B
 WHERE A.TABLE_NAME = B.TABLE_NAME 
 ORDER BY TABLE_NAME

Reference blog:

Get comments all the table names and table name of the current user oracle database - Yin Feifei - ITeye blog
https://yinfeifei.iteye.com/blog/751858

Guess you like

Origin www.cnblogs.com/huashengweilong/p/10960944.html