创建Oracle数据库表时加上注释

 

CREATE TABLE t1(
id  varchar2(32) primary key,
name VARCHAR2(8) NOT NULL,
age number,
)

添加表注释:
COMMENT ON table t1 IS '个人信息';

添加字段注释:
comment on column t1.id  is 'id';
comment on column t1.nameis '姓名';
comment on column t1.age is '年龄';

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2022-02-25
  • 2021-12-27
  • 2022-12-23
  • 2022-02-07
猜你喜欢
  • 2021-12-05
  • 2022-12-23
  • 2022-01-14
  • 2021-11-30
  • 2021-12-18
  • 2021-07-07
相关资源
相似解决方案