Tag: Varchar
CHAR and VARCHAR Data Types in Different Database Engines
Storage engines can surprise you. For example, take the CHAR data type. It expects an exact number of characters and by definition stores a fixed amount of information. However, you don’t have to fill all the available CHAR space – a shorter value will work. This is so similar to VARCHAR that I decided to explore the differences between these two types.
Before diving into the details, let’s start with some basic information.