运维网's Archiver
论坛
›
MySQL运维
› Mysql 定义字段的长度
爱死你了
发表于 2018-10-2 10:08:04
Mysql 定义字段的长度
DROP TABLE IF EXISTS `test`; CREATE TABLE `test` (
`id` int(1) NOT NULL,
`ids` int(10) default NULL,
`c` char(1) default NULL,
`cs` varchar(2) default NULL,
PRIMARY KEY(`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
页:
[1]
查看完整版本:
Mysql 定义字段的长度