1.整数
2.浮点数
浮点数不写精度和标度,会按实际的显示
定点数不写的话,默认按 (10,0) 处理
3.时间类型
timestamp 每次行修改,会自动更新为当前时间
MySQL 规定,timestamp 类型只能有一列为
4.字符类型
5.bit 类型
7.数据类型的选择
char 与 varchar
text 与 blog
浮点数与定点数
1.整数
2.浮点数
浮点数不写精度和标度,会按实际的显示
定点数不写的话,默认按 (10,0) 处理
3.时间类型
timestamp 每次行修改,会自动更新为当前时间
MySQL 规定,timestamp 类型只能有一列为
4.字符类型
5.bit 类型
7.数据类型的选择
char 与 varchar
text 与 blog
浮点数与定点数