oracle怎么给表和列加注释
oracle添加注释的语法为:
comment on column 字段名 is '注释名'
举例:
创建表:
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.
name
is
'姓名'
;
comment
on
column
t1.age
is
'年龄'
;
We only live once, and time just goes by.