整数: tinyint smallint int bigint浮点数:float(p, s) 4字节double(p, s)8字节定点数:deciml(p, s) p代表小数点, s代表位数日期时间datetimedatetime文本char 确定长度varchar 不确定长度text 大文本,无限长,不能以text作为查询条件二进制bit
MySQL常用数据类型
原文:http://www.cnblogs.com/themost/p/7623463.html