【Oracle】資料庫查看錶結構命令,oracle命令

來源:互聯網
上載者:User

【Oracle】資料庫查看錶結構命令,oracle命令

寫項目文檔的時候可能需要寫資料庫表結構,用編輯器右鍵查看錶結構一行行複製顯然是效率很低的,通過命令查看錶結構而後多行多列複製才是王道,只為了方便編寫文檔,這裡介紹兩個命令

1.查詢表所有欄位

select * from user_tab_columns where Table_Name='表名'; 
2.查詢表欄位注釋

select * from user_col_comments where Table_Name='表名'; 



End .


相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.