12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
ADADADADAD
mysql数据库 时间:2024-12-25 09:58:31
作者:文/会员上传
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
Oracle中的注释例如 comment on column 表名 is ' xxxx'; --表注释comment on column 表名.字段名 is 'xxxxx' --字段注释mysql中的注释--创建表的时加注释
CREATE TABLE zy
以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。
Oracle中的注释
例如 comment on column 表名 is ' xxxx'; --表注释
comment on column 表名.字段名 is 'xxxxx' --字段注释
mysql中的注释
--创建表的时加注释
CREATE TABLE zy.student_info (
NAME VARCHAR(20) NOT NULL COMMENT '学生名字',
kecheng VARCHAR(20) NOT NULL,
fenshu INT (10)
) ENGINE=INNODB DEFAULT CHARSET=utf8 ;
修改表的注释
alter table test1 comment '修改后的表的注释';
查看字段注释
show full columns from 表名
11-20
11-19
11-20
11-20
11-20
11-19
11-20
11-20
11-19
11-20
11-19
11-19
11-19
11-19
11-19
11-19