oracle中创建表时添加注释

 
 

转http://www.cnblogs.com/xujiating/p/6236592.html

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 '年龄';

QQ群:553997290   

公众号:



猜你喜欢

转载自blog.csdn.net/qq_39313596/article/details/80383347