摘要: int1. 占用4个字节2. 建立索引之后,查询速度快3. 条件范围搜索可以使用使用between4. 不能使用mysql提供的时间函数结论:适合需要进行大量时间范围查询的数据表datetime1. 占用8个字节2. 允许为空值,可以自定义值,系统不会自动修改其值。3. 实际格式储存(Just stores what you have stored and retrieves the same thing which you have stored.)4. 与时区无关(It has nothing to deal with the TIMEZONE and Conversion.)5. 不可以 阅读全文
posted @ 2013-10-16 09:33 chmod755 阅读(383) 评论(0) 推荐(0) 编辑