Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
create table 语句中定义为 char 类型的列定义为 varchar() 在 DB 的 desc 中定义为 char(8) convert to varchar(8)。char(1) -> char(1) 在同一个数据库上
当它定义了一个超过 2 字节的 char 类型的表时,转换为 varchar() 是 MySQL 4.1 中的规范吗?
临界字节数为 3,并且仅在表通常具有可变长度行时才会发生。 有关完整的详细信息,请参阅文档。