Home >Database >Mysql Tutorial >mysql中各种日期数据类型及其所占用的空间_MySQL

mysql中各种日期数据类型及其所占用的空间_MySQL

WBOY
WBOYOriginal
2016-06-01 13:18:381172browse

bitsCN.com

DATETIME,8字节;

DATE,3字节;

TIMESTAMP,4字节;

YEAR,1字节;

TIME,3字节;

bitsCN.com
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn