共計(jì) 655 個(gè)字符,預(yù)計(jì)需要花費(fèi) 2 分鐘才能閱讀完成。
自動(dòng)寫代碼機(jī)器人,免費(fèi)開通
這篇文章主要介紹 Oracle 如何獲取表注釋和列注釋,文中介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們一定要看完!
全部表
select table_name from user_tables; // 當(dāng)前用戶擁有的表
select table_name from all_tables; // 所有用戶的表
select table_name from dba_tables; // 包括系統(tǒng)表
表的注釋
select * from user_tab_comments; // 當(dāng)前用戶擁有表的注釋
select * from dba_tab_comments; // 全部用戶表的注釋
select * from all_tab_comments; // 全部用戶表的注釋
dba_tab_comments, all_tab_comments 比 user_tab_comments 要多一個(gè) ower 列
列的注釋
select * from user_col_comments;
select * from dba_col_comments;
select * from all_col_comments;
相應(yīng)的還有 dba_col_comments,all_col_comments,這兩個(gè)比 user_col_comments 多了 ower 列
以上是“Oracle 如何獲取表注釋和列注釋”這篇文章的所有內(nèi)容,感謝各位的閱讀!希望分享的內(nèi)容對大家有幫助,更多相關(guān)知識,歡迎關(guān)注丸趣 TV 行業(yè)資訊頻道!
向 AI 問一下細(xì)節(jié)
正文完