Skip to content

Commit

Permalink
Update MySQL数据类型.md
Browse files Browse the repository at this point in the history
  • Loading branch information
caimaoy authored and jaywcjlove committed Aug 1, 2018
1 parent df0b802 commit 4ab0911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MySQL/MySQL数据类型.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
| DATETIME | 八字节 | 2015-05-01 11::12:00 | 精确到年月日时分秒 |
| TIMESTAMP | | 2015-05-01 11::12:00 | 精确到年月日时分秒 |

- MySQL在`5.6.4`版本之后,`TIMESTAMP``DATETIME`支持到微妙
- MySQL在`5.6.4`版本之后,`TIMESTAMP``DATETIME`支持到微秒
- `TIMESTAMP`会根据系统时区进行转换,`DATETIME`则不会
- 存储范围的区别
- `TIMESTAMP`存储范围:1970-01-01 00::00:01 to 2038-01-19 03:14:07
Expand Down

0 comments on commit 4ab0911

Please sign in to comment.