Oracle 表与字段的注释操作

添加注释
comment on column 表名.字段名 is '注释内容';
comment on column OPERATOR_INFO.MAIN_OPER_ID is '归属操作员';

comment on table 表名 is '注释内容';
comment on table OPERATOR_INFO is '操作员信息表';

获取注释
select * from user_tab_comments;--表注释
select * from user_col_comments;--字段注释

原文地址:https://www.cnblogs.com/berlin/p/8134405.html