oracle添加表注释和表字段注释
2016-02-26 09:38
295 查看
创建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 '年龄';
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 '年龄';
相关文章推荐
- oracle进制转换
- oracle游标的使用
- oracle存储过程编写
- Oracle连接odbc数据源
- ORACLE
- oracle系统表v$session、v$sql字段说明
- 一、oracle 高水位线详解
- 收集oracle统计信息
- oracle转mysql中的一些注意点(后面会继续添加)
- Oracle 多行变一列的方法
- 傻瓜式安装ORACLE
- Oracle小知识,用得到!
- Oracle如何定时启动job
- oracle 跟踪事件 set event
- oracle数据库中varchar类型字段中存放的有数字和汉字情况,比较大小问题解决
- oracle语句整理,方便自己查看。
- Oracle自定义函数(不断更新)
- Oracle操作的一些环境变量的设置
- Oracle索引的介绍和使用
- MySQL与Oracle 差异比较之函数