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;--字段注释

posted @ 2017-12-28 10:43  风清云淡  阅读(952)  评论(0编辑  收藏  举报