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.
表の作成文でchar型で定義された列は、varchar()として定義されます。これは、DBのdescでchar(8)がvarchar(8)に変換されるように定義されました。同じDB上のchar(1)-> char(1)
2バイトを超えるcharタイプのテーブルを定義した場合、varchar()に変換するのはMySQL 4.1の仕様ですか?
重要なバイト数は3であり、一般にテーブルに可変長の行がある場合にのみ発生します。 詳細については、ドキュメントを参照してください。