【oracle sql】设置和读取表注释

luna@ORCL>comment on table DEPT is '部门表'; --创建表注释

注释已创建。

luna@ORCL>select * from user_tab_comments where table_name='DEPT'; --读取表注释

TABLE_NAME                     TABLE_TYPE
------------------------------ -----------
COMMENTS
--------------------------------------------------------------------------------
DEPT                           TABLE
部门表


已选择 1 行。

END

posted @ 2022-07-27 17:06  逆火狂飙  阅读(67)  评论(0)    收藏  举报
生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东