Use the VARCHAR column type instead of CHAR if you are storing variable-length strings or the column may contain many NULLs.

  • 一个 CHAR(n) 字段总是使用 n bytes 来存储数据,即使这个字符串很短或是一个 NULL 值。
目录 查词历史