为表添加字段和注释的方法 user_tab_columns是保存了当前用户的表、视图和Clusters中的列等信息,用于oracle获取表结构。 ...
comment on column 表名.字段名 is 注释内容 comment on table 表名 is 注释内容 ...
2017-03-24 15:59 0 2317 推荐指数:
为表添加字段和注释的方法 user_tab_columns是保存了当前用户的表、视图和Clusters中的列等信息,用于oracle获取表结构。 ...
...
1 创建表的时候写注释create table test1( field_name int comment '字段的注释')comment='表的注释'; 2 修改表的注释alter table test1 comment '修改后的表的注释'; 3 修改字段的注释alter table ...
oracle中sql给表新增字段并添加注释说明 mysql新增、修改字段、已有字段增加默认值 ...
comment on column 表名.字段名 is '注释内容'; comment on column OPERATOR_INFO.MAIN_OPER_ID is '归属操作员'; comment on table 表名 is '注释内容'; comment ...
#hehe 表中添加ISXP 字段 alter table hehe add( ISXP varchar2(1) ); COMMENT ON COLUMN "hehe"."ISXP" IS '是否信披过0已信披1未信披'; ...