1、数据库的列类型 数值 int 标准的整数 4个字节decimal 字符串形式的浮点数 金融计算的时候,一般使用它 字符串 varchar 可变字符串 0~65535text 文本串 2^16-1 保存大文本 时间日期 datatime YYYY-MM-DD HH: mm : sstimestamp 时间戳 null 没有值,未知