MySQL

Because char is a fixed-length data type, the storage size of the char value is equal to the maximum size for this column. Because varchar is a variable-length data type, the storage size of the varchar value is the actual length of the data entered, not the maximum size for this column

https://www.w3schools.com/sql/sql_exists.asp

Last updated

Was this helpful?