Home > Database > Mysql Tutorial > body text

TEXT、TINYTEXT、MEDIUMTEXT、LONGTEXT选择

WBOY
Release: 2016-06-07 15:54:26
Original
2254 people have browsed it

在mysql里面储存不区分大小写的字符数据: TINYTEXT 最大长度是 255 (2^8 - 1) 个字符。 TEXT 最大长度是 65535 (2^16 - 1) 个字符。 MEDIUMTEXT 最大长度是 16777215 (2^24 - 1) 个字符。 LONGTEXT 最大长度是 4294967295 (2^32 - 1) 个字符

在mysql里面储存不区分大小写的字符数据:

TINYTEXT 最大长度是 255 (2^8 - 1) 个字符。

TEXT 最大长度是 65535 (2^16 - 1) 个字符。

MEDIUMTEXT 最大长度是 16777215 (2^24 - 1) 个字符。

LONGTEXT 最大长度是 4294967295 (2^32 - 1) 个字符
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!