Oracle修改表或者字段的注释
2017-07-07 16:20
218 查看
语句: comment on table 表名 is '表的注释信息'; comment on column 表名.字段名 is '字段的注释信息'; 注意表名的大小写 例如: 1、创建表: CREATE TABLE Student( id varchar2(32) primary key, name varchar2(8) not null, age number ); 2、添加表注释: Comment on table Student is '个人信息'; 修改表注释: Comment on table Student is '学生个人信息'; 3、添加字段注释: comment on column Student.id is 'id'; comment on column Student.name is '姓名'; comment on column Student.age is '年龄'; 修改字段注释: comment on column Student.id is '学生id'; comment on column Student.name is '学生姓名'; comment on column Student.age is '学生年龄';
相关文章推荐
- Oracle Comment 获取并修改表或字段注释
- oracle修改表字段名时报错:ORA-00054:资源正忙,但指定以NOWAIT方式获取资源,或者超时失效的问题
- Oracle 修改字段注释
- Oracle修改字段类型、注释、字段名称
- Oracle 增加、修改、删除字段与添加注释
- 在ORACLE中给已有数据的表增加、修改、删除一个字段(或一个列)或者多个字段(或多个列)的问题
- Oracle 增加修改删除字段与添加注释
- oracle 修改字段类型的方法(转)
- oracle 10g 修改IP或者机器名导致无法启动oracleDBConsole的解决方法
- oracle 10g 修改IP或者机器名导致无法启动oracleDBConsole的解决方法
- 关于Oracle表及字段的注释
- oracle 修改字段类型的方法
- ORACLE服务意外删除或者注册表被修改恢复方案
- oracle修改字段值
- Oracle 修改带数据的字段类型
- 关于Oracle表及字段的注释
- oracle 一次删除,增加,修改多个字段
- 使用oracle的表、字段注释
- Oracle 增删列,为列增加注释,修改主键等
- ORACLE写一函数,准确地判断字段是否含有汉字或者提取汉字等