MySQL DBA MySQL数据类型选择(六) int 统一使用 int和medium int关联字段时会转换成string来比较 否点数 金额采用*100来存储 decimal存在四舍五入 日期类型 datetime(3) 带有毫秒 字符类型 字符集 json