MySQL TEXT 格式 的 長度限制

MySQL 使用 TEXT 格式, 長度限制是多少? (最多/最長 可以寫多少資料)

MySQL TEXT 格式 長度列表

下述取自: Maximum length for MySQL TEXT field types

  • TINYTEXT: 256 bytes
  • TEXT: 65,535 bytes => ~64kb
  • MEDIUMTEXT: 16,777,215 bytes => ~16MB
  • LONGTEXT: 4,294,967,295 bytes => ~4GB

相關網頁



更多推薦文章

This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

About Tsung

對新奇的事物都很有興趣, 喜歡簡單的東西, 過簡單的生活.
This entry was posted in Programming. Bookmark the permalink.

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>