oracle创建表时添加表注释

CREATE TABLE t1(

id varchar2(32) primary key,

name VARCHAR2(32) ,

age VARCHAR2(32) 

)

添加表注释:

COMMENT ON table t1 IS ‘个人信息’;

添加字段注释:

comment on column t1.id is ‘id’;

comment on column t1.name is ‘姓名’;

comment on column t1.age is ‘年龄’;

    原文作者:横竖撇捺啊
    原文地址: https://www.jianshu.com/p/f39749547698
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞